[llvm] [llvm-objcopy] --gap-fill and 0-size sections (PR #75837)

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 19 01:07:20 PST 2023


================
@@ -106,6 +106,11 @@ Sections:
     Flags:           [ SHF_ALLOC, SHF_EXECINSTR ]
     Address:         0x0108
     Content:         'AABBCCDDFEDCBA'
+  - Name:            .zero_size
+    Type:            SHT_PROGBITS
+    Flags:           [ SHF_ALLOC, SHF_EXECINSTR ]
----------------
jh7370 wrote:

`EXECINSTR` is irrelevant to the test, right? So let's omit it to avoid confusion.

https://github.com/llvm/llvm-project/pull/75837


More information about the llvm-commits mailing list