llvm-project/llvm/tools/llvm-objdump
Keith Smiley bc99fd95e0
[llvm-objdump/mac] Add new function starts print mode
This updates the `--function-starts` argument to now accept 3 different
modes, `addrs` for just printing the addresses of the function starts
(previous behavior), `names` for just printing the names of the function
starts, and `both` to print them both side by side.

In general if you're debugging function starts issues it's useful to see
the symbol name alongside the address. This also mirrors Apple's
`dyldinfo -function_starts` command which prints both.

Differential Revision: https://reviews.llvm.org/D119050
2022-10-14 15:42:18 -07:00
..
CMakeLists.txt [llvm-objdump] Find debug information with Build ID/debuginfod. 2022-10-03 16:17:45 -07:00
COFFDump.cpp [llvm] Use std::size instead of llvm::array_lengthof 2022-09-08 09:01:53 -06:00
COFFDump.h [llvm-objdump] Change some nonnull pointers to references. NFC 2022-07-07 12:14:59 -07:00
ELFDump.cpp [llvm-objdump] Change printSymbolVersionDependency to use ELFFile API 2022-09-14 12:30:34 -07:00
ELFDump.h
MachODump.cpp [llvm-objdump/mac] Add new function starts print mode 2022-10-14 15:42:18 -07:00
MachODump.h [llvm-objdump/mac] Add new function starts print mode 2022-10-14 15:42:18 -07:00
ObjdumpOptID.h [llvm-objdump] Add an llvm-otool tool 2021-04-20 08:24:58 -04:00
ObjdumpOpts.td [llvm-objdump/mac] Add new function starts print mode 2022-10-14 15:42:18 -07:00
OffloadDump.cpp [llvm-objdump] Fix alignment issues when dumping offloading sections 2022-07-08 14:30:06 -04:00
OffloadDump.h [llvm-objdump] Add support for dumping embedded offloading data 2022-07-01 21:13:28 -04:00
OtoolOpts.td [llvm-objdump --macho] Rename --dyld_info to --dyld-info 2022-08-17 12:58:29 -04:00
SourcePrinter.cpp Revert "Remove the dependency between lib/DebugInfoDWARF and MC." 2022-10-06 14:58:34 -07:00
SourcePrinter.h Revert "Remove the dependency between lib/DebugInfoDWARF and MC." 2022-10-06 14:58:34 -07:00
WasmDump.cpp [llvm-objdump] Use cast<> instead of dyn_cast<> to avoid dereference of nullptr 2022-01-23 12:50:12 +00:00
WasmDump.h
XCOFFDump.cpp [llvm] Use value instead of getValue (NFC) 2022-07-13 23:11:56 -07:00
XCOFFDump.h [llvm-objdump] Change some nonnull pointers to references. NFC 2022-07-07 12:14:59 -07:00
llvm-objdump.cpp [llvm-objdump/mac] Add new function starts print mode 2022-10-14 15:42:18 -07:00
llvm-objdump.h [llvm-objdump/mac] Add new function starts print mode 2022-10-14 15:42:18 -07:00