[lld] ELF: Introduce --shuffle-padding option. (PR #117653)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 29 22:34:09 PST 2024


================
@@ -0,0 +1,36 @@
+# REQUIRES: x86
----------------
MaskRay wrote:

bss/data/rodata can be merged into one test.

It's important to test an output section with multiple InputSectionDescription.

By default .rodata .text .data are in different PT_LOAD segments. The `os->ptLoad != curPtLoad` condition isn't covered by tests.

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


More information about the llvm-commits mailing list