llvm-project/llvm/tools/llvm-objdump
George Rimar 3ba0f3c0fb [llvm-objdump] - Print symbol addressed when dumping disassembly output (-d)
When GNU objdump dumps the input with -d it prints the symbol addresses,
for example:

0000000000000031 <foo>:
  31:	00 00                	add    %al,(%rax)
	...

llvm-objdump currently does not do that.
Patch changes the behavior to match the GNU objdump.

That is useful for implementing -z/--disassemble-zeroes (D56083),
it allows omitting first zero bytes and keep the information
about the symbol address in the output.

Differential revision: https://reviews.llvm.org/D56123

llvm-svn: 350726
2019-01-09 14:43:33 +00:00
..
CMakeLists.txt Fix debug build by adding missing dependencies on libBinaryFormat 2018-05-15 00:46:43 +00:00
COFFDump.cpp [llvm-objdump] Use WithColor for error reporting 2018-11-11 22:12:04 +00:00
ELFDump.cpp [llvm-objdump] Use `auto` declaration in typecasting 2018-11-15 11:51:13 +00:00
LLVMBuild.txt
MachODump.cpp [binutils] NFC: fix clang-tidy warning: use empty() instead of size() == 0 2018-12-20 00:57:06 +00:00
WasmDump.cpp Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
llvm-objdump.cpp [llvm-objdump] - Print symbol addressed when dumping disassembly output (-d) 2019-01-09 14:43:33 +00:00
llvm-objdump.h [llvm-objdump] Add ability to demangle COFF symbols. 2018-08-20 22:18:21 +00:00