[lld] [lld][ELF] Combine uniqued small data sections (PR #104485)
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 16 16:11:30 PDT 2024
================
@@ -33,7 +34,9 @@
# NOSDATA-DAG: [[#]]: {{0*}}[[#BSS]] 0 NOTYPE GLOBAL DEFAULT [[#]] (.bss) __bss_start
# NOSDATA-DAG: [[#]]: {{0*}}800 0 NOTYPE GLOBAL DEFAULT 1 (.dynsym) __global_pointer$
-# CHECK: .text
+# CHECK: .rodata
+# CHECK-NEXT: .srodata
----------------
MaskRay wrote:
We might need `.srodata{{$}}` as `.srodata.suffix` would match as well.
https://github.com/llvm/llvm-project/pull/104485
More information about the llvm-commits
mailing list