[llvm] [llvm][yaml2obj] Modify section header overriding timing (PR #130942)

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 4 00:16:00 PDT 2025


================
@@ -523,14 +543,26 @@ Sections:
 ## Use an arbitrary size that is different to the size of
 ## the previous section.
     Size:    0x20
+  - Name: .data.3
+    Type: SHT_PROGBITS
+    Flags: [ SHF_WRITE, SHF_ALLOC ]
+# Use an abitrary size. Also use an address that is larger than the previous
+# section, because the tools expect segment addresses to be in order.
----------------
jh7370 wrote:

```suggestion
## Use an abitrary size. Also use an address that is larger than the previous
## section, because the tools expect segment addresses to be in order.
```

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


More information about the llvm-commits mailing list