This is an archive of the discontinued LLVM Phabricator instance.

[dsymutil] Fix crash in the Reproducer/FileCollector when TMPDIR is empty
ClosedPublic

Authored by JDevlieghere on Nov 14 2022, 9:35 AM.

Details

Diff Detail

Event Timeline

JDevlieghere created this revision.Nov 14 2022, 9:35 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 14 2022, 9:35 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
JDevlieghere requested review of this revision.Nov 14 2022, 9:35 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 14 2022, 9:35 AM
JDevlieghere edited the summary of this revision. (Show Details)Nov 14 2022, 9:37 AM
arphaman accepted this revision.Nov 14 2022, 11:31 AM
This revision is now accepted and ready to land.Nov 14 2022, 11:31 AM
This revision was landed with ongoing or failed builds.Nov 14 2022, 12:34 PM
This revision was automatically updated to reflect the committed changes.
goncharov added inline comments.
llvm/test/tools/dsymutil/X86/reproducer.test
17

unfortunately this still crashes if run in CI where you can't write anywhere. I wonder what tmpdir defaults to if empty? root of fs?