This is an archive of the discontinued LLVM Phabricator instance.

[Support] [Windows] Use RemoveFileOnSignal if unable to use the delete-on-close flag
ClosedPublic

Authored by mstorsjo on Oct 28 2021, 5:27 AM.

Details

Summary

This takes care of cleaning up the temp files on crashes. It doesn't
handle cleanup when explicitly killed though.

I left this out from D111875 because I was worried it would end up too
messy and didn't want to hold up the rest of it on it, but it turns out
it should be pretty straightforward.

Diff Detail

Event Timeline

mstorsjo created this revision.Oct 28 2021, 5:27 AM
mstorsjo requested review of this revision.Oct 28 2021, 5:27 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 28 2021, 5:27 AM

@akhuang - Does this seem sensible to you?

akhuang accepted this revision.Nov 3 2021, 11:33 AM

lgtm!

This revision is now accepted and ready to land.Nov 3 2021, 11:33 AM