diff options
| author | Sam Clegg <sbc@chromium.org> | 2018-06-22 15:13:10 +0000 |
|---|---|---|
| committer | Sam Clegg <sbc@chromium.org> | 2018-06-22 15:13:10 +0000 |
| commit | ffd0aaf810e7dbae871c046a9b3c48ae0a7d7eb0 (patch) | |
| tree | 073d1fc9d8b79126d1cb8a6cb68c9616d0a0e011 /lld/wasm/Driver.cpp | |
| parent | a99b3759bfc34a253a271f5bc8f5c7a6c2cfd284 (diff) | |
| download | bcm5719-llvm-ffd0aaf810e7dbae871c046a9b3c48ae0a7d7eb0.tar.gz bcm5719-llvm-ffd0aaf810e7dbae871c046a9b3c48ae0a7d7eb0.zip | |
Revert "[WebAssembly] Error on mismatched function signature in final output"
This caused a lot of issues on the WebAssembly waterfall.
In particular, until with the signature of `main`. We
probably want a better solution for main before we re-land.
Reverts rL335192
llvm-svn: 335355
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(); |

