diff options
Diffstat (limited to 'COFF/Driver.cpp')
| -rw-r--r-- | COFF/Driver.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/COFF/Driver.cpp b/COFF/Driver.cpp index f528dafd9857..4cacf0ff552a 100644 --- a/COFF/Driver.cpp +++ b/COFF/Driver.cpp @@ -586,6 +586,8 @@ void LinkerDriver::link(llvm::ArrayRef<const char *> ArgsArr) { // Windows specific -- Make sure we resolve all dllexported symbols. for (Export &E : Config->Exports) { + if (!E.ForwardTo.empty()) + continue; E.Sym = addUndefined(E.Name); if (!E.Directives) Symtab.mangleMaybe(E.Sym); |
