[lld] [llvm] [Coverage][WebAssembly] Keep InstrProf segments during gc (PR #172023)
Sam Clegg via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 12 09:49:47 PST 2025
================
@@ -229,6 +229,7 @@ enum WasmSegmentFlag : unsigned {
WASM_SEG_FLAG_STRINGS = 0x1,
WASM_SEG_FLAG_TLS = 0x2,
WASM_SEG_FLAG_RETAIN = 0x4,
----------------
sbc100 wrote:
Can we not just reuse the `WASM_SEG_FLAG_RETAIN` for these segments?
How does the ELF linker prevent GC of these segments?
https://github.com/llvm/llvm-project/pull/172023
More information about the llvm-commits
mailing list