aboutsummaryrefslogtreecommitdiff
path: root/lld/wasm/InputFiles.h
diff options
context:
space:
mode:
Diffstat (limited to 'lld/wasm/InputFiles.h')
-rw-r--r--lld/wasm/InputFiles.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/wasm/InputFiles.h b/lld/wasm/InputFiles.h
index 1b1de98..fd7fcb1 100644
--- a/lld/wasm/InputFiles.h
+++ b/lld/wasm/InputFiles.h
@@ -73,7 +73,7 @@ public:
protected:
InputFile(Kind k, MemoryBufferRef m)
- : mb(m), fileKind(k), live(!config->gcSections) {}
+ : mb(m), fileKind(k), live(!ctx.arg.gcSections) {}
void checkArch(llvm::Triple::ArchType arch) const;