[lld] [lld][WebAssembly] Add new __rodata_start/__rodata_end symbols (PR #172102)

Derek Schuff via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 12 15:57:18 PST 2025


================
@@ -173,6 +173,11 @@ struct Ctx {
     // Symbol whose value is the alignment of the TLS block.
     GlobalSymbol *tlsAlign;
 
+    // __rodata_start/__rodata_end
+    // Symbols marking the start/end of readonly data
+    DefinedData *rodataStart;
+    DefinedData *rodataEnd;
+
     // __data_end
----------------
dschuff wrote:

Any particular reason why `__data_start` doesn't exist?

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


More information about the llvm-commits mailing list