[lld] [lld][ELF] Combine uniqued small data sections (PR #104485)

Sam Elliott via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 17 01:43:53 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
----------------
lenary wrote:

Good point. I'll do this for all the sections that should end up combined. 

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


More information about the llvm-commits mailing list