diff options
author | Martin Storsjo <martin@martin.st> | 2018-09-18 07:22:05 +0000 |
---|---|---|
committer | Martin Storsjo <martin@martin.st> | 2018-09-18 07:22:05 +0000 |
commit | 5fefad793c10c2805671d40592ce7bcedc72cdf8 (patch) | |
tree | 63777847e11c0f06320af09796b864b798e598ce | |
parent | 32d21d6a2df0b9ee804ae80cadb1af4f61135024 (diff) | |
download | bcm5719-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.cpp | 2 |
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", |