llvm-capstone/llvm/tools
Serge Pavlov 1099208b99 [symbolizer] Check existence of input file in GNU mode
GNU addr2line exits immediately if it cannot open the file specified as
executable/relocatable. In contrast llvm-addr2line does not exit and, if
addresses are not specified in command line, waits for input on stdin. This
causes the test compiler-rt/test/asan/TestCases/Posix/asan-symbolize-bad-path.cc to block
forever on Gentoo (see https://reviews.llvm.org/rG27c4777f41d2ab204c1cf84ff1cccd5ba41354da#1190273).
To fix this issue the behavior llvm-addr2line now exits if
executable/relocatable file cannot be found.

It fixes https://github.com/llvm/llvm-project/issues/42099 (llvm-addr2line
does not exit when passed a non-existent file).

Differential Revision: https://reviews.llvm.org/D147652
2023-06-23 17:20:15 +07:00
..
bugpoint [bugpoint] Remove unused declaration debugPassMiscompilation 2023-05-29 11:56:52 -07:00
bugpoint-passes [bugpoint] Fix compilation of bugpoint-passes on Windows 2023-01-23 17:42:16 -08:00
dsymutil [DWARFLinker] add DWARFUnit::getIndexedAddressOffset(). 2023-06-20 13:03:12 +02:00
dxil-dis [NFC] [DirectX backend] copy dxil-dis as exe file on windows 2022-12-14 00:32:39 -05:00
gold [lld] Support separate native object file path in --thinlto-prefix-replace 2023-04-04 11:24:51 -07:00
llc Split out CodeGenTypes from CodeGen for LLT/MVT 2023-05-03 00:13:20 +09:00
lli [lli] Export the MinGW chkstk function from the lli executable 2023-05-23 14:38:10 +03:00
llvm-ar [CMake] Reduce deps 2023-04-20 08:45:38 +09:00
llvm-as [IR] Support importing modules with invalid data layouts. 2023-01-12 10:10:45 +01:00
llvm-as-fuzzer
llvm-bcanalyzer [Bitcode(Reader|Writer)] Convert Optional to std::optional 2022-12-07 15:27:38 -08:00
llvm-c-test [C API] Add getters and setters for NUW, NSW, and Exact 2023-06-08 16:11:11 -07:00
llvm-cat
llvm-cfi-verify [llvm-objdump][X86] Add @plt symbols for .plt.got 2023-05-16 09:22:21 -07:00
llvm-config [NFC][TargetParser] Remove llvm/ADT/Triple.h 2023-02-07 12:39:46 +00:00
llvm-cov [llvm] Migrate {starts,ends}with_insensitive to {starts,ends}_with_insensitive (NFC) 2023-05-12 15:37:37 -07:00
llvm-cvtres [OptTable] Precompute OptTable prefixes union table through tablegen 2023-01-12 12:08:06 +01:00
llvm-cxxdump Move from llvm::makeArrayRef to ArrayRef deduction guides - llvm/ part 2023-01-05 14:11:08 +01:00
llvm-cxxfilt [Demangle] convert itaniumDemangle and nonMicrosoftDemangle to use std::string_view 2023-06-02 14:53:49 -07:00
llvm-cxxmap [Support] Move ItaniumManglingCanonicalizer and SymbolRemappingReader from Support to ProfileData 2023-02-06 20:55:48 +00:00
llvm-debuginfo-analyzer [CMake] Cleanup deps 2023-04-17 00:38:49 +09:00
llvm-debuginfod [llvm-debuginfod][NFC] Switch to OptTable 2023-05-30 16:04:41 -07:00
llvm-debuginfod-find [Object] llvm::Optional => std::optional 2022-12-04 09:11:11 +00:00
llvm-diff [llvm-diff] Fix false-positive diffs on forward-referencing phi nodes 2022-11-09 20:40:47 +01:00
llvm-dis
llvm-dis-fuzzer
llvm-dlang-demangle-fuzzer [Damangle] convert dlangDemangle to use std::string_view 2023-06-02 15:19:41 -07:00
llvm-driver Do not unnecessarily include StringSwitch.h 2023-06-11 13:19:22 -07:00
llvm-dwarfdump [AppleTables] Implement iterator over all entries in table 2023-06-21 06:44:56 -04:00
llvm-dwarfutil [tools] Use llvm::is_contained (NFC) 2023-06-19 23:36:14 -07:00
llvm-dwp [DWP] add overflow check for llvm-dwp tools if offset overflow 2023-06-01 16:32:52 +08:00
llvm-exegesis Revert "[llvm-exegesis] Add ability to assign perf counters to specific PID" 2023-06-22 18:05:01 +00:00
llvm-extract [llvm-extract] Don't forget to link to Analysis component 2022-12-21 05:16:50 +03:00
llvm-gsymutil [llvm-gsymutil] Fix command descriptions introduced in upstream D148775 when switching to OptTable 2023-06-16 11:46:44 -04:00
llvm-ifs [CMake] Cleanup deps 2023-04-17 00:38:49 +09:00
llvm-isel-fuzzer [FuzzMutate] Module size heuristics 2023-05-09 13:58:10 -07:00
llvm-itanium-demangle-fuzzer [Demangle] remove unused status param of itaniumDemangle 2023-05-03 11:51:35 -07:00
llvm-jitlink [llvm-jitlink] Pass object features when creating MCSubtargetInfo 2023-05-13 11:36:47 +02:00
llvm-jitlistener [NFC][TargetParser] Replace uses of llvm/Support/Host.h 2023-02-10 09:59:46 +00:00
llvm-libtool-darwin [Support] Move TargetParsers to new component 2022-12-20 11:05:50 +00:00
llvm-link [llvm-link] Fix options of llvm-link 2022-11-21 18:08:27 -08:00
llvm-lipo [llvm-driver] Pass extra arguments to tools 2023-02-10 19:42:32 +00:00
llvm-lto [LTO] Change getThinLTOOutputFile to take StringRef 2023-04-26 20:43:11 -07:00
llvm-lto2 [lld] Support separate native object file path in --thinlto-prefix-replace 2023-04-04 11:24:51 -07:00
llvm-mc [NFC][TargetParser] Replace uses of llvm/Support/Host.h 2023-02-10 09:59:46 +00:00
llvm-mc-assemble-fuzzer [NFC][TargetParser] Replace uses of llvm/Support/Host.h 2023-02-10 09:59:46 +00:00
llvm-mc-disassemble-fuzzer [NFC][TargetParser] Replace uses of llvm/Support/Host.h 2023-02-10 09:59:46 +00:00
llvm-mca [llvm-mca][TimelineView] Skip invalid entries when printing the json output. 2023-06-19 16:17:33 +01:00
llvm-microsoft-demangle-fuzzer [Demangle] remove unused params of microsoftDemangle 2023-04-21 15:37:00 -07:00
llvm-ml [NFC][TargetParser] Replace uses of llvm/Support/Host.h 2023-02-10 09:59:46 +00:00
llvm-modextract [CMake] Cleanup deps 2023-04-17 00:38:49 +09:00
llvm-mt [llvm-driver] Pass extra arguments to tools 2023-02-10 19:42:32 +00:00
llvm-nm [Demangle] convert itaniumDemangle and nonMicrosoftDemangle to use std::string_view 2023-06-02 14:53:49 -07:00
llvm-objcopy [llvm-driver] Pass extra arguments to tools 2023-02-10 19:42:32 +00:00
llvm-objdump [llvm-objdump/mac] Add support for LC_ATOM_INFO 2023-06-13 14:29:15 -07:00
llvm-opt-fuzzer [FuzzMutate] Module size heuristics 2023-05-09 13:58:10 -07:00
llvm-opt-report [Demangle] convert itaniumDemangle and nonMicrosoftDemangle to use std::string_view 2023-06-02 14:53:49 -07:00
llvm-pdbutil [CodeView] Add source languages ObjC and ObjC++ 2023-03-17 17:09:31 +01:00
llvm-profdata [llvm-profdata] Fix llvm-profdata help and make sure it remains in sync 2023-06-20 10:25:29 +02:00
llvm-profgen [tools] Use llvm::is_contained (NFC) 2023-06-19 23:36:14 -07:00
llvm-rc [llvm] Migrate {starts,ends}with_insensitive to {starts,ends}_with_insensitive (NFC) 2023-05-12 15:37:37 -07:00
llvm-readobj reland: [Demangle] make llvm::demangle take std::string_view rather than const std::string& 2023-06-06 10:18:06 -07:00
llvm-reduce llvm-reduce: Fix introducing invalid uses of intrinsics 2023-06-20 12:26:27 -04:00
llvm-remark-size-diff [CMake] Cleanup deps 2023-04-17 00:38:49 +09:00
llvm-remarkutil [llvm-remarkutil] Add an option to display DebugLoc when collecting counts for remarks. 2023-04-18 13:48:42 +01:00
llvm-rtdyld [Support] Move TargetParsers to new component 2022-12-20 11:05:50 +00:00
llvm-rust-demangle-fuzzer [Damangle] convert rustDemangle to use std::string_view 2023-06-02 15:08:14 -07:00
llvm-shlib [NFC][Py Reformat] Reformat python files in llvm 2023-05-17 10:48:52 +02:00
llvm-sim std::optional::value => operator*/operator-> 2022-12-17 01:42:39 +00:00
llvm-size [llvm-driver] Pass extra arguments to tools 2023-02-10 19:42:32 +00:00
llvm-special-case-list-fuzzer
llvm-split
llvm-stress [CMake] Reduce deps 2023-04-20 08:45:38 +09:00
llvm-strings [Option] Support special argument "--" 2023-06-07 08:06:05 -07:00
llvm-symbolizer [symbolizer] Check existence of input file in GNU mode 2023-06-23 17:20:15 +07:00
llvm-tapi-diff [llvm][TextAPI] only compare deployment version for InterfaceFile. 2023-04-01 08:38:30 -07:00
llvm-tli-checker reland: [Demangle] make llvm::demangle take std::string_view rather than const std::string& 2023-06-06 10:18:06 -07:00
llvm-undname [Demangle] convert microsoftDemangle to take a std::string_view 2023-06-05 13:00:20 -07:00
llvm-xray [CMake] Cleanup deps 2023-04-17 00:38:49 +09:00
llvm-yaml-numeric-parser-fuzzer
llvm-yaml-parser-fuzzer
lto libLTO.{so,dylib}: remove unused non-LTO symbols 2023-02-02 14:51:35 -08:00
obj2yaml [Object] Fix handling of Elf_Nhdr with sh_addralign=8 2023-05-10 09:36:58 -07:00
opt [opt] Cleanups related to legacy PM deprecation 2023-04-13 10:12:00 +02:00
opt-viewer [NFC][Py Reformat] Reformat python files in llvm 2023-05-17 10:48:52 +02:00
remarks-shlib libRemarks.{so,dylib}: remove Remarks.dylib.exports 2023-02-02 15:13:04 -08:00
sancov [NFC][Py Reformat] Reformat python files in llvm 2023-05-17 10:48:52 +02:00
sanstats
verify-uselistorder
vfabi-demangle-fuzzer
xcode-toolchain
yaml2obj [YAML] Convert Optional to std::optional 2022-12-06 12:49:32 -08:00
CMakeLists.txt [Debuginfod][CMake] Don't build a defunct llvm-debuginfod 2023-03-29 16:18:21 -07:00