[PATCH] D103455: [yaml2obj] Add support for writing the long symbol name.
James Henderson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 15 00:31:52 PDT 2021
jhenderson accepted this revision.
jhenderson added a comment.
LGTM too. Please remember to update the test once the string table printing has landed.
================
Comment at: llvm/test/tools/yaml2obj/XCOFF/long-symbol-name.yaml:19
+# CHECK-NEXT: Index: 1
+# CHECK-NEXT: Name: .longname
+# CHECK-NEXT: Value: 0x0
----------------
Not for this change, but perhaps a future llvm-readobj enhancement. For ELF, the sh_name/st_name field printing includes the raw value as well as the interpreted name value, with the raw value representing the offset into the string table. This sometimes might be helpful for debugging, and I think could be implemented for XCOFF too.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D103455/new/
https://reviews.llvm.org/D103455
More information about the llvm-commits
mailing list