summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2018-09-18 07:22:05 +0000
committerMartin Storsjo <martin@martin.st>2018-09-18 07:22:05 +0000
commit5fefad793c10c2805671d40592ce7bcedc72cdf8 (patch)
tree63777847e11c0f06320af09796b864b798e598ce
parent32d21d6a2df0b9ee804ae80cadb1af4f61135024 (diff)
downloadbcm5719-llvm-5fefad793c10c2805671d40592ce7bcedc72cdf8.tar.gz
bcm5719-llvm-5fefad793c10c2805671d40592ce7bcedc72cdf8.zip
[COFF] Fix the name mangling of a function in the autoexport exclusion list
The __NULL_IMPORT_DESCRIPTOR symbol has two leading underscores on architectures other than i386 as well; it is not a mangled symbol name. llvm-svn: 342448
-rw-r--r--lld/COFF/MinGW.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/COFF/MinGW.cpp b/lld/COFF/MinGW.cpp
index 640c2e4430d..cc2f6fbae0e 100644
--- a/lld/COFF/MinGW.cpp
+++ b/lld/COFF/MinGW.cpp
@@ -38,7 +38,7 @@ void AutoExporter::initSymbolExcludes() {
};
} else {
ExcludeSymbols = {
- "_NULL_IMPORT_DESCRIPTOR",
+ "__NULL_IMPORT_DESCRIPTOR",
"_pei386_runtime_relocator",
"do_pseudo_reloc",
"impure_ptr",
OpenPOWER on IntegriCloud