llvm-capstone/llvm/tools
Serge Pavlov e144ae54dc [symbolizer] Support symbol lookup
Recent versions of GNU binutils starting from 2.39 support symbol+offset
lookup in addition to the usual numeric address lookup. This change adds
symbol lookup to llvm-symbolize and llvm-addr2line.

Now llvm-symbolize behaves closer to GNU addr2line, - if the value specified
as address in command line or input stream is not a number, it is treated as
a symbol name. For example:

    llvm-symbolize --obj=abc.so func_22
    llvm-symbolize --obj=abc.so "CODE func_22"

This lookup is now supported only for functions. Specification with
offset is not supported yet.

This is a recommit of 2b27948783, reverted
in 39fec5457c because the test
llvm/test/Support/interrupts.test started failing on Windows. The test was
changed in 18f036d010 and is also updated in
this commit.

Differential Revision: https://reviews.llvm.org/D149759
2023-11-01 14:41:39 +07:00
..
bugpoint [bugpoint] Remove unused declaration PassInfo 2023-07-30 21:10:53 -07:00
bugpoint-passes
dsymutil Reland [dsymutil] Add support for mergeable libraries (#70256) 2023-10-26 10:45:08 -07:00
dxil-dis
gold [NFC][CodeGen] Change CodeGenOpt::Level/CodeGenFileType into enum classes (#66295) 2023-09-14 14:10:14 -07:00
llc [llc][PPC] Move PIC check into TargetMachine (#66727) 2023-10-16 10:41:20 -07:00
lli Re-apply "[ORC] Add N_SO and N_OSO stabs entries to MachO debug..." with fixes. 2023-09-28 21:34:14 -07: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] Fix LLVMGetOrdering/LLVMIsAtomicSingleThread for fence/memory instrs (#65228) 2023-09-30 16:52:31 +02:00
llvm-cat
llvm-cfi-verify
llvm-config
llvm-cov Revert "[Coverage][llvm-cov] Enable MC/DC Support in LLVM Source-based Code Coverage (2/3)" 2023-09-20 16:32:34 -05: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 [llvm-cxxfilt] Do not consider the prefix dot as part of the demangled symbol name. 2023-09-26 11:07:59 -04:00
llvm-cxxmap
llvm-debuginfo-analyzer
llvm-debuginfod [llvm-{debuginfod,ml,objdump,symbolizer}, dsymutil] Enable multicall driver 2023-08-17 23:26:51 +00:00
llvm-debuginfod-find [Debuginfod] Add \n to llvm-debuginfod-find error 2023-10-09 14:20:04 -07: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
llvm-driver [llvm][objdump] Remove support for printing the embedded Bitcode section in MachO files. (#68457) 2023-10-09 15:03:29 -07:00
llvm-dwarfdump [ADT] Rename llvm::erase_value to llvm::erase (NFC) (#70156) 2023-10-24 23:03:13 -07:00
llvm-dwarfutil Reland [dsymutil] Add support for mergeable libraries (#70256) 2023-10-26 10:45:08 -07: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 [tools] Stop including llvm/ADT/StringMap.h (NFC) 2023-10-13 20:50:59 -07:00
llvm-extract
llvm-gsymutil Use llvm::endianness::{big,little,native} (NFC) 2023-10-12 21:21:45 -07:00
llvm-ifs [llvm] Extract common OptTable bits into macros 2023-08-04 13:57:13 -07:00
llvm-isel-fuzzer Introduce and use codegen::createTargetMachineForTriple() 2023-10-04 13:45:16 -07:00
llvm-itanium-demangle-fuzzer
llvm-jitlink Use llvm::endianness::{big,little,native} (NFC) 2023-10-12 21:21:45 -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 [lipo] Support creating Universal 64 bit Mach-O files. (#67737) 2023-09-30 15:25:41 -07:00
llvm-lto [LTO] Remove module id from summary index 2023-09-01 13:43:08 -07:00
llvm-lto2 [llvm] A Unified LTO Bitcode Frontend 2023-07-05 14:53:14 -07:00
llvm-mc [llvm] Add assembly color highlighting 2023-09-01 07:57:45 -07:00
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
llvm-ml [llvm-{debuginfod,ml,objdump,symbolizer}, dsymutil] Enable multicall driver 2023-08-17 23:26:51 +00:00
llvm-modextract
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 Reland [dsymutil] Add support for mergeable libraries (#70256) 2023-10-26 10:45:08 -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 [RISCV][MC] Implement evaluateBranch for auipc+jalr pairs (#65480) 2023-10-20 06:36:12 +00:00
llvm-opt-fuzzer Introduce and use codegen::createTargetMachineForTriple() 2023-10-04 13:45:16 -07:00
llvm-opt-report [llvm] Add missing StringExtras.h includes 2023-06-25 15:42:22 +01:00
llvm-pdbutil Use llvm::endianness::{big,little,native} (NFC) 2023-10-10 22:54:51 -07:00
llvm-profdata [llvm-profdata] Emit warning when counter value is greater than 2^56. (#69513) 2023-10-31 16:40:51 -04:00
llvm-profgen [llvm-profgen] More tweaks to warnings (#68608) 2023-10-22 17:00:14 -07:00
llvm-rc [llvm-rc] Accept filenames provided as multiple string literals (#68881) 2023-10-16 23:16:25 +03:00
llvm-readobj [llvm][llvm-readobj] Add AArch64 Tagged Address note type (#68568) 2023-10-20 08:37:44 +01:00
llvm-readtapi [llvm-readtapi] Fix bad symlink with readtapi tool (#68835) 2023-10-12 10:34:05 -04:00
llvm-reduce llvm-reduce: Handle cloning for MachineJumpTableInfo (#69086) 2023-10-31 21:51:50 +09:00
llvm-remarkutil [llvm-remarkutil] Fix issues after #66214 and its fixups 2023-10-14 12:06:59 -07:00
llvm-rtdyld Use llvm::endianness::{big,little,native} (NFC) 2023-10-12 21:21:45 -07:00
llvm-rust-demangle-fuzzer
llvm-shlib
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] Support symbol lookup 2023-11-01 14:41:39 +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
llvm-xray [llvm] Stop including llvm/ADT/iterator_range.h (NFC) 2023-10-22 15:41:18 -07:00
llvm-yaml-numeric-parser-fuzzer [ADT] Rename llvm::erase_value to llvm::erase (NFC) (#70156) 2023-10-24 23:03:13 -07:00
llvm-yaml-parser-fuzzer [ADT] Rename llvm::erase_value to llvm::erase (NFC) (#70156) 2023-10-24 23:03:13 -07:00
lto [NFC][CodeGen] Change CodeGenOpt::Level/CodeGenFileType into enum classes (#66295) 2023-09-14 14:10:14 -07:00
obj2yaml Use llvm::endianness::{big,little,native} (NFC) 2023-10-12 21:21:45 -07:00
opt [opt] Infer DataLayout from triple if not specified 2023-10-26 12:07:37 -07:00
opt-viewer
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