[PATCH] D63137: [yaml2obj] - Allow setting the custom Address for .strtab

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 11 07:09:44 PDT 2019


grimar created this revision.
grimar added a reviewer: jhenderson.
Herald added a subscriber: jakehehrlich.

Despite the fact that .strtab is non-allocatable,
there is no reason to disallow setting the custom address
for it.

The patch also adds a test case showing we can set any address
we want for other implicit sections.

Depends on D63136 <https://reviews.llvm.org/D63136>


https://reviews.llvm.org/D63137

Files:
  test/tools/yaml2obj/dynsym-dynstr-addr.yaml
  test/tools/yaml2obj/implicit-sections-addr.yaml
  tools/yaml2obj/yaml2elf.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63137.204056.patch
Type: text/x-patch
Size: 3318 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190611/8f7b299b/attachment.bin>


More information about the llvm-commits mailing list