diff options
Diffstat (limited to 'lld/wasm/Driver.cpp')
| -rw-r--r-- | lld/wasm/Driver.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lld/wasm/Driver.cpp b/lld/wasm/Driver.cpp index 23220e9a276..8012be5cea0 100644 --- a/lld/wasm/Driver.cpp +++ b/lld/wasm/Driver.cpp @@ -349,8 +349,6 @@ void LinkerDriver::link(ArrayRef<const char *> ArgsArr) { Sym->setHidden(false); } - if (!Config->Entry.empty() && !Symtab->find(Config->Entry)->isDefined()) - error("entry point not found: " + Config->Entry); if (errorCount()) return; |

