diff options
Diffstat (limited to 'lld/wasm/Driver.cpp')
-rw-r--r-- | lld/wasm/Driver.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lld/wasm/Driver.cpp b/lld/wasm/Driver.cpp index c24496c6ecc..70a36046ad9 100644 --- a/lld/wasm/Driver.cpp +++ b/lld/wasm/Driver.cpp @@ -483,8 +483,7 @@ void LinkerDriver::link(ArrayRef<const char *> ArgsArr) { return; // Do size optimizations: garbage collection - if (Config->GcSections) - markLive(); + markLive(); // Write the result to the file. writeResult(); |