[lld] r342448 - [COFF] Fix the name mangling of a function in the autoexport exclusion list
Martin Storsjo via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 18 00:22:05 PDT 2018
Author: mstorsjo
Date: Tue Sep 18 00:22:05 2018
New Revision: 342448
URL: http://llvm.org/viewvc/llvm-project?rev=342448&view=rev
Log:
[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.
Modified:
lld/trunk/COFF/MinGW.cpp
Modified: lld/trunk/COFF/MinGW.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/COFF/MinGW.cpp?rev=342448&r1=342447&r2=342448&view=diff
==============================================================================
--- lld/trunk/COFF/MinGW.cpp (original)
+++ lld/trunk/COFF/MinGW.cpp Tue Sep 18 00:22:05 2018
@@ -38,7 +38,7 @@ void AutoExporter::initSymbolExcludes()
};
} else {
ExcludeSymbols = {
- "_NULL_IMPORT_DESCRIPTOR",
+ "__NULL_IMPORT_DESCRIPTOR",
"_pei386_runtime_relocator",
"do_pseudo_reloc",
"impure_ptr",
More information about the llvm-commits
mailing list