llvm-capstone/llvm/tools
Serge Pavlov 1792852f86 [symbolizer] Change reaction on invalid input
If llvm-symbolizer finds a malformed command, it echoes it to the
standard output. New versions of binutils (starting from 2.39) allow to
specify an address by a symbols. Implementation of this feature in
llvm-symbolizer makes the current reaction on invalid input
inappropriate. Almost any invalid command may be treated as a symbol
name, so the right reaction should be "symbol not found" in such case.

The exception are commands that are recognized but have incorrect
syntax, like "FILE:FILE:". The utility must produce descriptive
diagnostic for such input and route it to the stderr.

This change implements the new reaction on invalid input and is a
prerequisite for implementation of symbol lookup in llvm-symbolizer.

Differential Revision: https://reviews.llvm.org/D157210
2023-08-30 17:54:37 +07:00
..
bugpoint [bugpoint] Remove unused declaration PassInfo 2023-07-30 21:10:53 -07:00
bugpoint-passes
dsymutil [dsymutil][DWARFv5] Do output verification for DWARFv5. 2023-08-23 12:26:39 +02:00
dxil-dis
gold Reland "[gold] Add preliminary FatLTO support to the Gold plugin"" 2023-08-18 22:56:48 +00:00
llc [libLTO][AIX] Respect -f[no]-integrated-as on AIX 2023-07-12 13:22:02 -04:00
lli [lli] Fix crash on empty entry-function 2023-07-31 09:29:54 +00:00
llvm-ar [AIX] supporting -X options for llvm-ranlib in AIX OS 2023-08-22 09:41:33 -04:00
llvm-as
llvm-as-fuzzer
llvm-bcanalyzer
llvm-c-test [C API]: Add getters for inline assembly template string, constraints, and flags 2023-08-15 21:49:28 -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
llvm-cov [llvm-cov] Support directory layout in coverage reports 2023-08-24 13:46:12 +08:00
llvm-cvtres Reapply "[Option] Add "Visibility" field and clone the OptTable APIs to use it" 2023-08-15 01:16:58 -07:00
llvm-cxxdump
llvm-cxxfilt Reapply "[Option] Add "Visibility" field and clone the OptTable APIs to use it" 2023-08-15 01:16:58 -07:00
llvm-cxxmap
llvm-debuginfo-analyzer [CMake] Cleanup deps 2023-04-17 00:38:49 +09:00
llvm-debuginfod [llvm-{debuginfod,ml,objdump,symbolizer}, dsymutil] Enable multicall driver 2023-08-17 23:26:51 +00:00
llvm-debuginfod-find [llvm] Add missing StringExtras.h includes 2023-06-25 15:42:22 +01:00
llvm-diff [llvm-diff] Modernize DiffEntry (NFC) 2023-08-19 07:56:35 -07: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 [llvm-{debuginfod,ml,objdump,symbolizer}, dsymutil] Enable multicall driver 2023-08-17 23:26:51 +00:00
llvm-dwarfdump AppleAcceleratorTable: Use MapVector to stabilize iteration order after D153066 2023-07-19 19:59:13 -07:00
llvm-dwarfutil [Reland][Reland][DWARFLinkerParallel] Add limited functionality to DWARFLinkerParallel. 2023-08-21 11:09:18 +02:00
llvm-dwp Reapply "[Option] Add "Visibility" field and clone the OptTable APIs to use it" 2023-08-15 01:16:58 -07:00
llvm-exegesis [llvm-exegesis] Use mmap2 when mmap is unavailable to fix riscv32 build 2023-08-25 10:43:00 -07:00
llvm-extract
llvm-gsymutil Improve llvm-gsymutil performance in quiet mode. 2023-08-09 00:34:11 -07:00
llvm-ifs [llvm] Extract common OptTable bits into macros 2023-08-04 13:57:13 -07: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] Don't return immediately in -noexec mode, just skip execution. 2023-07-24 09:14:01 -07:00
llvm-jitlistener
llvm-libtool-darwin [AIX] supporting -X options for llvm-ranlib in AIX OS 2023-08-22 09:41:33 -04:00
llvm-link [FunctionImport] Reduce string duplication (NFC) 2023-08-04 14:43:11 -07:00
llvm-lipo Reapply "[Option] Add "Visibility" field and clone the OptTable APIs to use it" 2023-08-15 01:16:58 -07:00
llvm-lto [LTO] Change getThinLTOOutputFile to take StringRef 2023-04-26 20:43:11 -07:00
llvm-lto2 [llvm] A Unified LTO Bitcode Frontend 2023-07-05 14:53:14 -07:00
llvm-mc
llvm-mc-assemble-fuzzer Move SubtargetFeature.h from MC to TargetParser 2023-06-26 11:20:08 +02:00
llvm-mc-disassemble-fuzzer Move SubtargetFeature.h from MC to TargetParser 2023-06-26 11:20:08 +02:00
llvm-mca [TableGen] Rename ResourceCycles and StartAtCycle to clarify semantics 2023-08-24 19:21:36 -07:00
llvm-microsoft-demangle-fuzzer [Demangle] remove unused params of microsoftDemangle 2023-04-21 15:37:00 -07:00
llvm-ml [llvm-{debuginfod,ml,objdump,symbolizer}, dsymutil] Enable multicall driver 2023-08-17 23:26:51 +00:00
llvm-modextract [CMake] Cleanup deps 2023-04-17 00:38:49 +09:00
llvm-mt Reapply "[Option] Add "Visibility" field and clone the OptTable APIs to use it" 2023-08-15 01:16:58 -07:00
llvm-nm [llvm-nm][WebAssembly] Report the size of data symbols 2023-08-25 16:45:50 -07:00
llvm-objcopy Reapply "[Option] Add "Visibility" field and clone the OptTable APIs to use it" 2023-08-15 01:16:58 -07:00
llvm-objdump [llvm-{debuginfod,ml,objdump,symbolizer}, dsymutil] Enable multicall driver 2023-08-17 23:26:51 +00:00
llvm-opt-fuzzer [FuzzMutate] Module size heuristics 2023-05-09 13:58:10 -07:00
llvm-opt-report [llvm] Add missing StringExtras.h includes 2023-06-25 15:42:22 +01:00
llvm-pdbutil Revert "Emit the CodeView S_ARMSWITCHTABLE debug symbol for jump tables" 2023-08-25 18:34:15 -07:00
llvm-profdata [llvm-profdata] Modernize SampleOverlapStats (NFC) 2023-08-19 07:56:37 -07:00
llvm-profgen [NFC] Remove unused variables declared in conditions 2023-08-30 10:05:06 +09:00
llvm-rc [llvm-rc] Continue to use Argv[0] to resolve executable path 2023-08-28 14:40:19 -07:00
llvm-readobj Define BBEntry::hasIndirectBranch. NFC 2023-08-21 15:38:45 +00:00
llvm-readtapi [TextAPI] Make sortTargetValues strict weak ordering compliant 2023-08-21 08:56:39 -07:00
llvm-reduce llvm-reduce: Fix invalid reduction from breaking phi operands 2023-08-23 18:54:48 -04:00
llvm-remarkutil [RemarkUtil] Refactor llvm-remarkutil to include size-diff 2023-08-02 10:33:18 +01:00
llvm-rtdyld
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
llvm-size [llvm] Extract common OptTable bits into macros 2023-08-04 13:57:13 -07:00
llvm-special-case-list-fuzzer
llvm-split
llvm-stress Stop using legacy helpers indicating typed pointer types. NFC 2023-08-02 12:08:37 +02:00
llvm-strings Reapply "[Option] Add "Visibility" field and clone the OptTable APIs to use it" 2023-08-15 01:16:58 -07:00
llvm-symbolizer [symbolizer] Change reaction on invalid input 2023-08-30 17:54:37 +07:00
llvm-tli-checker Reapply "[Option] Add "Visibility" field and clone the OptTable APIs to use it" 2023-08-15 01:16:58 -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
obj2yaml Re-land [DX] Add support for PSV signature elements 2023-08-16 14:26:13 -05:00
opt Restore "[MemProf] Use new option/pass for profile feedback and matching" 2023-07-11 13:16:20 -07:00
opt-viewer [NFC][Py Reformat] Reformat python files in llvm 2023-05-17 10:48:52 +02:00
remarks-shlib
sancov [llvm] Extract common OptTable bits into macros 2023-08-04 13:57:13 -07:00
sanstats
verify-uselistorder
vfabi-demangle-fuzzer
xcode-toolchain
yaml2obj
CMakeLists.txt [CMake] Don't exclude llvm-debuginfod if httplib isn't available 2023-07-14 19:29:28 +00:00