[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
This commit is contained in:
Martin Storsjo 2018-09-18 07:22:05 +00:00
parent 32d21d6a2d
commit 5fefad793c

View File

@ -38,7 +38,7 @@ void AutoExporter::initSymbolExcludes() {
};
} else {
ExcludeSymbols = {
"_NULL_IMPORT_DESCRIPTOR",
"__NULL_IMPORT_DESCRIPTOR",
"_pei386_runtime_relocator",
"do_pseudo_reloc",
"impure_ptr",