[PATCH] D112925: [ELF] Place an orphan section to the same memory region as its anchor section
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 3 13:44:19 PDT 2021
MaskRay added a comment.
This makes sense to me, but worth a look from Peter.
================
Comment at: lld/test/ELF/linkerscript/orphan-memory.test:11
+
+CHECK: Name: .data
+CHECK-NEXT: Type: SHT_PROGBITS
----------------
Tabular output from llvm-readelf may be more readonable. WDYT
================
Comment at: lld/test/ELF/linkerscript/orphan-memory.test:38
+ .quad 0
+
+#--- t
----------------
Add a non-SHF_ALLOC orphan section to show that it does not belong to `DATA`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D112925/new/
https://reviews.llvm.org/D112925
More information about the llvm-commits
mailing list