diff options
author | George Rimar <grimar@accesssoftek.com> | 2019-01-09 14:43:33 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2019-01-09 14:43:33 +0000 |
commit | 3ba0f3c0fb4474f4fc63c57cb7f533b97adf3064 (patch) | |
tree | 6465493c214953cc5112f9064025e3b90b0b77b8 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | b61910bbe89b70ab5f0f415445a05d35164e33e5 (diff) | |
download | llvm-3ba0f3c0fb4474f4fc63c57cb7f533b97adf3064.zip llvm-3ba0f3c0fb4474f4fc63c57cb7f533b97adf3064.tar.gz llvm-3ba0f3c0fb4474f4fc63c57cb7f533b97adf3064.tar.bz2 |
[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
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions