[PATCH] D67221: [yaml2obj] Write the section header table after section contents

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 5 06:21:24 PDT 2019


grimar added inline comments.


================
Comment at: test/tools/llvm-objcopy/ELF/overlapping-sections-in-segments.test:13
+## (e_shoff+64*2+24 = 0x10e8) overlap the first one.
+# RUN: %python -c "with open('%/t.o', 'r+b') as input: import struct; bytes = struct.pack('<Q', 0x1001); input.seek(0x10e8); input.write(bytes)"
 
----------------
grimar wrote:
> Seems we should be able to rewrite this and "overlapping-sections.test" tests to use just YAML, since we have override the sh_offset now. I'll try to do this.
since we have -> since we can


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D67221/new/

https://reviews.llvm.org/D67221





More information about the llvm-commits mailing list