llvm-project/llvm/tools
Jonas Devlieghere 17737437ed
[dsymutil] Fix assertion in the Reproducer/FileCollector when TMPDIR is empty
Fix a assertion in dsymutil coming from the Reproducer/FileCollector.
When TMPDIR is empty, the root becomes a relative path, triggering an
assertion when adding a relative path to the VFS mapping. This patch
fixes the issue by resolving the relative path and also moves the
assertion up to make it easier to diagnose these issues in the future.

rdar://102170986

Differential revision: https://reviews.llvm.org/D137959
2022-11-14 19:11:34 -08:00
..
bugpoint [Instrumentation] Remove legacy passes 2022-10-25 13:11:07 -07:00
bugpoint-passes
dsymutil [dsymutil] Fix assertion in the Reproducer/FileCollector when TMPDIR is empty 2022-11-14 19:11:34 -08:00
dxil-dis Add DXIL Bitcode Writer and DXIL testing 2022-04-15 18:50:26 -05:00
gold Use llvm::all_of (NFC) 2022-08-14 16:25:36 -07:00
llc [llc] Use CPUStr instead of calling codegen::getMCPU(). NFC 2022-08-31 08:48:58 +08:00
lli [ORC][ORC_RT][COFF] Remove public bootstrap method. 2022-09-10 15:25:50 +09:00
llvm-ar [llvm] LLVM_FALLTHROUGH => [[fallthrough]]. NFC 2022-08-08 11:24:15 -07:00
llvm-as Remove unnecessary includes of ManagedStatic.h 2022-07-07 14:29:20 +02:00
llvm-as-fuzzer
llvm-bcanalyzer Remove redundant initialization of Optional (NFC) 2022-08-20 21:18:28 -07:00
llvm-c-test Fix test: LLVMGetBitcodeModule takes ownership of memory buffer 2022-07-08 20:06:44 +02:00
llvm-cat Remove unneeded cl::ZeroOrMore for cl::list options 2022-06-04 23:51:13 -07:00
llvm-cfi-verify Cleanup include: DebugInfo/Symbolize 2022-02-24 13:25:11 +01:00
llvm-config [llvm-config] Remove --src-root option 2022-11-02 18:45:15 +01:00
llvm-cov [llvm-cov] Allow branch coverage to be skipped when exporting for LCOV 2022-10-14 16:24:41 -05:00
llvm-cvtres Remove unnecessary includes of ManagedStatic.h 2022-07-07 14:29:20 +02:00
llvm-cxxdump [llvm] Qualify auto (NFC) 2022-08-07 23:55:27 -07:00
llvm-cxxfilt [llvm-cxxfilt] Add description for --types in help text 2022-06-14 10:32:56 +01:00
llvm-cxxmap
llvm-debuginfo-analyzer [llvm-debuginfo-analyzer] (08/09) - ELF Reader 2022-10-27 05:37:51 +01:00
llvm-debuginfod [llvm] Modernize bool literals (NFC) 2022-07-17 18:08:51 -07:00
llvm-debuginfod-find [NFC] [Object] Create library to fetch debug info by build ID. 2022-09-28 13:35:35 -07:00
llvm-diff [llvm-diff] Fix false-positive diffs on forward-referencing phi nodes 2022-11-09 20:40:47 +01:00
llvm-dis Remove unneeded cl::ZeroOrMore for cl::list options 2022-06-04 23:51:13 -07:00
llvm-dis-fuzzer [Bitcode] Add missing includes in llvm-dis-fuzzer 2022-02-08 09:49:38 +01:00
llvm-dlang-demangle-fuzzer Reland "[FuzzMutate] Split out FuzzerCLI library that doesn't depend on IR." 2022-05-07 13:49:54 +02:00
llvm-driver [llvm-driver] Add lld 2022-10-13 19:23:25 +00:00
llvm-dwarfdump Revert "Remove the dependency between lib/DebugInfoDWARF and MC." 2022-10-06 14:58:34 -07:00
llvm-dwarfutil [llvm-dwarfutil][DWARFv5] fix reading of DW_FORM_addrx attribute. 2022-09-23 09:35:54 +03:00
llvm-dwp [llvm-dwp] Report the filename if it cannot be found 2022-09-14 11:32:41 +08:00
llvm-exegesis [llvm-exegesis] getNonRedundantWriteProcRes - perform basic toplogical sorting (PR58500) 2022-10-24 10:46:04 +01:00
llvm-extract Remove unneeded cl::ZeroOrMore for cl::opt/cl::list options 2022-06-05 01:07:51 -07:00
llvm-gsymutil Revert "Remove the dependency between lib/DebugInfoDWARF and MC." 2022-10-06 14:58:34 -07:00
llvm-ifs Fix llvm/lib/ObjCopy, llvm/llvm-ifs: c++20 compatibility 2022-10-14 10:28:46 -07:00
llvm-isel-fuzzer Remove unneeded cl::ZeroOrMore for cl::opt/cl::list options 2022-06-05 00:31:44 -07:00
llvm-itanium-demangle-fuzzer Reland "[FuzzMutate] Split out FuzzerCLI library that doesn't depend on IR." 2022-05-07 13:49:54 +02:00
llvm-jitlink [llvm-jitlink] Teach InProcessDeltaMapper to honor -slab-page-size option. 2022-10-03 21:50:01 -07:00
llvm-jitlistener
llvm-libtool-darwin Reland "[llvm][NFC] Use c++17 style variable type traits" 2022-11-08 14:15:15 +00:00
llvm-link Avoid ar_to_bc.sh script in symbolizer build; add -ignore-non-bitcode flag to llvm-link 2022-06-28 14:49:35 -07:00
llvm-lipo [llvm-driver] Add various tools to the llvm-driver 2022-10-06 05:16:13 +00:00
llvm-lto [WPD] Use new llvm.public.type.test intrinsic for potentially publicly visible classes 2022-07-26 08:01:08 -07:00
llvm-lto2 [LTO][ELF] Add selective --save-temps= option 2022-07-06 10:06:18 -07:00
llvm-mc [Support] Rename DebugCompressionType::Z to Zlib 2022-09-08 16:11:29 -07:00
llvm-mc-assemble-fuzzer Remove unneeded cl::ZeroOrMore for cl::list options 2022-06-04 23:51:13 -07:00
llvm-mc-disassemble-fuzzer Remove unneeded cl::ZeroOrMore for cl::list options 2022-06-04 23:51:13 -07:00
llvm-mca [llvm] Remove redundaunt virtual specifiers (NFC) 2022-07-24 21:50:35 -07:00
llvm-microsoft-demangle-fuzzer Reland "[FuzzMutate] Split out FuzzerCLI library that doesn't depend on IR." 2022-05-07 13:49:54 +02:00
llvm-ml [llvm] LLVM_FALLTHROUGH => [[fallthrough]]. NFC 2022-08-08 11:24:15 -07:00
llvm-modextract Cleanup includes: DebugInfo & CodeGen 2022-03-12 17:26:40 +01:00
llvm-mt [llvm-driver] Add various tools to the llvm-driver 2022-10-06 05:16:13 +00:00
llvm-nm [llvm-driver] Add various tools to the llvm-driver 2022-10-06 05:16:13 +00:00
llvm-objcopy [llvm-objcopy] Support --decompress-debug-sections when zlib is disabled 2022-10-12 11:52:05 -07:00
llvm-objdump [Binary] Support extracting offloading files from COFF 2022-11-03 16:19:14 -05:00
llvm-opt-fuzzer [Instrumentation] Remove legacy passes 2022-10-25 13:11:07 -07:00
llvm-opt-report
llvm-pdbutil [llvm] Qualify auto in range-based for loops (NFC) 2022-09-03 11:17:49 -07:00
llvm-profdata [llvm-profdata] Rename show flag to --show-format 2022-10-07 11:35:07 -07:00
llvm-profgen [llvm-profgen] Fix a typo in collectProfiledFunctions 2022-11-01 16:52:39 -07:00
llvm-rc [llvm-driver] Add various tools to the llvm-driver 2022-10-06 05:16:13 +00:00
llvm-readobj [XCOFF] change the decoding of External symbol's function auxiliary entry in XCOFF32 for llvm-readobj 2022-11-03 10:36:44 -04:00
llvm-reduce llvm-reduce: Minor code cleanups 2022-11-11 14:38:19 -08:00
llvm-remark-size-diff [llvm] LLVM_FALLTHROUGH => [[fallthrough]]. NFC 2022-08-08 11:24:15 -07:00
llvm-remarkutil [llvm-remarkutil] Add an option to print out function sizes 2022-09-28 15:45:55 -07:00
llvm-rtdyld Remove unneeded cl::ZeroOrMore for cl::opt/cl::list options 2022-06-05 01:07:51 -07:00
llvm-rust-demangle-fuzzer Reland "[FuzzMutate] Split out FuzzerCLI library that doesn't depend on IR." 2022-05-07 13:49:54 +02:00
llvm-shlib Make sure libLLVM users link with libatomic if needed 2022-09-18 19:11:57 +02:00
llvm-sim [llvm] Use value instead of getValue (NFC) 2022-07-13 23:11:56 -07:00
llvm-size [llvm-driver] Add various tools to the llvm-driver 2022-10-06 05:16:13 +00:00
llvm-special-case-list-fuzzer Reland "[FuzzMutate] Split out FuzzerCLI library that doesn't depend on IR." 2022-05-07 13:49:54 +02:00
llvm-split
llvm-stress [llvm-stress] Remove dependency to legacy pass manager 2022-09-29 08:23:49 +02:00
llvm-strings Remove unneeded cl::ZeroOrMore for cl::opt/cl::list options 2022-06-05 01:07:51 -07:00
llvm-symbolizer [NFC] [Object] Create library to fetch debug info by build ID. 2022-09-28 13:35:35 -07:00
llvm-tapi-diff Use any_of (NFC) 2022-07-30 10:35:56 -07:00
llvm-tli-checker Make llvm-tli-checker support static libraries 2022-09-08 11:10:26 -07:00
llvm-undname Remove unneeded cl::ZeroOrMore for cl::opt/cl::list options 2022-06-05 00:31:44 -07:00
llvm-xray [iwyu] Move <cmath> out of llvm/Support/MathExtras.h 2022-09-28 20:49:01 +02:00
llvm-yaml-numeric-parser-fuzzer Reland "[FuzzMutate] Split out FuzzerCLI library that doesn't depend on IR." 2022-05-07 13:49:54 +02:00
llvm-yaml-parser-fuzzer Reland "[FuzzMutate] Split out FuzzerCLI library that doesn't depend on IR." 2022-05-07 13:49:54 +02:00
lto [LTO] Fix lto_module_create_in_codegen_context return value on error 2022-10-26 15:13:22 -07:00
obj2yaml [ObjectYAML] Basic support for chained fixups. 2022-11-11 10:15:30 -08:00
opt Revert "[opt][clang] Enable using -module-summary/-flto=thin with -S/-emit-llvm" 2022-11-14 15:51:03 -08:00
opt-viewer
remarks-shlib
sancov [sancov] Remove deprecated -blacklist after D113514 2022-08-01 19:00:43 -07:00
sanstats [sanstats] Hide unrelated options 2022-07-21 18:08:34 -07:00
verify-uselistorder [llvm] Fix comment typos (NFC) 2022-08-07 00:16:14 -07:00
vfabi-demangle-fuzzer
xcode-toolchain
yaml2obj [yaml2obj] Add a `-E` flag to preprocess only. 2022-08-02 13:56:27 +01:00
CMakeLists.txt [llvm-driver] Generate symlinks instead of executables for tools 2022-07-20 01:42:56 +00:00