[PATCH] D107421: [yaml2obj][XCOFF] Customize the string table.

Esme Yi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 3 20:17:32 PDT 2021


Esme created this revision.
Esme added reviewers: shchenz, jhenderson, Higuoxing, stefanp, PowerPC.
Herald added a subscriber: hiraditya.
Esme requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

The patch is trying to add support for yaml2obj customizing the string table.

1. length and contents can be specified.
2. symbol names in the string table will be overwritten by specific values.
3. symbol names that are not overwritten by specific values will still be stored in the string table, ex. the specific values can't cover all symbol names.
4. the emission of string table can be suppressed.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D107421

Files:
  llvm/include/llvm/MC/StringTableBuilder.h
  llvm/include/llvm/ObjectYAML/XCOFFYAML.h
  llvm/lib/MC/StringTableBuilder.cpp
  llvm/lib/ObjectYAML/XCOFFEmitter.cpp
  llvm/lib/ObjectYAML/XCOFFYAML.cpp
  llvm/test/tools/yaml2obj/XCOFF/string-table.yaml

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107421.363955.patch
Type: text/x-patch
Size: 11441 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210804/f06b3526/attachment.bin>


More information about the llvm-commits mailing list