diff options
Diffstat (limited to 'lld/wasm/InputChunks.h')
-rw-r--r-- | lld/wasm/InputChunks.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lld/wasm/InputChunks.h b/lld/wasm/InputChunks.h index d6769bc..f545449 100644 --- a/lld/wasm/InputChunks.h +++ b/lld/wasm/InputChunks.h @@ -112,7 +112,7 @@ protected: InputChunk(ObjFile *f, Kind k, StringRef name, uint32_t alignment = 0, uint32_t flags = 0) : name(name), file(f), alignment(alignment), flags(flags), sectionKind(k), - live(!config->gcSections), discarded(false) {} + live(!ctx.arg.gcSections), discarded(false) {} ArrayRef<uint8_t> data() const { return rawData; } uint64_t getTombstone() const; @@ -156,7 +156,7 @@ class SyntheticMergedChunk; // be found by looking at the next one). struct SectionPiece { SectionPiece(size_t off, uint32_t hash, bool live) - : inputOff(off), live(live || !config->gcSections), hash(hash >> 1) {} + : inputOff(off), live(live || !ctx.arg.gcSections), hash(hash >> 1) {} uint32_t inputOff; uint32_t live : 1; |