diff options
author | zhijian <zhijian@ca.ibm.com> | 2021-10-01 12:37:51 -0400 |
---|---|---|
committer | zhijian <zhijian@ca.ibm.com> | 2021-10-01 12:37:51 -0400 |
commit | 5b44c716ee0ffcb0b8943b9e76eb69473188768a (patch) | |
tree | 443f343da450e00eccad87dbfab84e59bcd2d59d /llvm/lib/Bitcode/Writer/ValueEnumerator.cpp | |
parent | 907d5da3da195d2e3a78d5b36807cf44a13c3f25 (diff) | |
download | llvm-5b44c716ee0ffcb0b8943b9e76eb69473188768a.zip llvm-5b44c716ee0ffcb0b8943b9e76eb69473188768a.tar.gz llvm-5b44c716ee0ffcb0b8943b9e76eb69473188768a.tar.bz2 |
[AIX]implement the --syms and using "symbol index and qualname" for --sym --symbol--description for llvm-objdump for xcoff
Summary:
for xcoff :
implement the getSymbolFlag and getSymbolType() for option --syms.
llvm-objdump --sym , if the symbol is label, print the containing section for the symbol too.
when using llvm-objdump --sym --symbol--description, print the symbol index and qualname for symbol.
for example:
--symbol-description
00000000000000c0 l .text (csect: (idx: 2) .foov[PR]) (idx: 3) .foov
and without --symbol-description
00000000000000c0 l .text (csect: .foov) .foov
Reviewers: James Henderson,Esme Yi
Differential Revision: https://reviews.llvm.org/D109452
Diffstat (limited to 'llvm/lib/Bitcode/Writer/ValueEnumerator.cpp')
0 files changed, 0 insertions, 0 deletions