summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2018-01-20 11:44:32 +0000
committerMartin Storsjo <martin@martin.st>2018-01-20 11:44:32 +0000
commitf641d0d4f23f76bc6a6e96ab73f1579d8eb0bf4c (patch)
tree69c1c7b0d5853ec29548a499f372662bc82f16de /llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp
parent990eb1fc94583d516163784005173da304dbe758 (diff)
downloadbcm5719-llvm-f641d0d4f23f76bc6a6e96ab73f1579d8eb0bf4c.tar.gz
bcm5719-llvm-f641d0d4f23f76bc6a6e96ab73f1579d8eb0bf4c.zip
[COFF] Keep the underscore on exported decorated stdcall functions in MSVC mode
This (together with the corresponding LLD commit, that contains the testcase updates) fixes PR35733. Differential Revision: https://reviews.llvm.org/D41631 llvm-svn: 323035
Diffstat (limited to 'llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp')
-rw-r--r--llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp b/llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp
index 964844922f0..684617e7945 100644
--- a/llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp
+++ b/llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp
@@ -173,7 +173,7 @@ int llvm::dlltoolDriverMain(llvm::ArrayRef<const char *> ArgsArr) {
}
}
- if (writeImportLibrary(Def->OutputFile, Path, Def->Exports, Machine, true))
+ if (writeImportLibrary(Def->OutputFile, Path, Def->Exports, Machine, true, true))
return 1;
return 0;
}
OpenPOWER on IntegriCloud