[PATCH] D137959: [dsymutil] Fix crash in the Reproducer/FileCollector when TMPDIR is empty
Mikhail Goncharov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 15 01:16:00 PST 2022
goncharov added inline comments.
================
Comment at: llvm/test/tools/dsymutil/X86/reproducer.test:17
+# Make sure we don't crash with an empty TMPDIR.
+RUN: env TMPDIR="" dsymutil -o -f %t.generate -oso-prepend-path=%t %t/Inputs/basic.macho.x86_64 2>&1
+
----------------
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?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D137959/new/
https://reviews.llvm.org/D137959
More information about the llvm-commits
mailing list