[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:48 PST 2025


================
@@ -229,6 +229,7 @@ enum WasmSegmentFlag : unsigned {
   WASM_SEG_FLAG_STRINGS = 0x1,
   WASM_SEG_FLAG_TLS = 0x2,
   WASM_SEG_FLAG_RETAIN = 0x4,
+  WASM_SEG_FLAG_PRF = 0x8,
----------------
sbc100 wrote:

Given that this flag never actually lives in the binary I'm not sure it makes sense to be added here.

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


More information about the llvm-commits mailing list