[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;
----------------
dschuff wrote:
Kind of unfortunate that we have `__stack_low`, `__heap_base`, and `__rodata_start`. But I guess it's too late to fix the inconsistency.
https://github.com/llvm/llvm-project/pull/172102
More information about the llvm-commits
mailing list