Fix a crash in dsymutil caused by the Reproducer/FileCollector when TMPDIR is empty.
rdar://102170986
Paths
| Differential D137959
[dsymutil] Fix crash in the Reproducer/FileCollector when TMPDIR is empty ClosedPublic Authored by JDevlieghere on Nov 14 2022, 9:35 AM.
Details Summary Fix a crash in dsymutil caused by the Reproducer/FileCollector when TMPDIR is empty. rdar://102170986
Diff Detail Event TimelineThis 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 Closed by commit rG68efb4772c0d: [dsymutil] Fix assertion in the Reproducer/FileCollector when TMPDIR is empty (authored by JDevlieghere). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 475178 llvm/lib/Support/FileCollector.cpp
llvm/test/tools/dsymutil/X86/reproducer.test
llvm/tools/dsymutil/Reproducer.cpp
|
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?