mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
21e60a9aff
This reverts commit r304561 and re-lands r303490 & co. The fix was to use "SymbolName" when translating LLD's internal export list to lib/Object's short export struct. The SymbolName reflects the actual symbol name, which may include fastcall and stdcall mangling bits not included in the /EXPORT or .def file EXPORTS name: @@ -434,8 +434,7 @@ std::vector<COFFShortExport> createCOFFShortExportFromConfig() { std::vector<COFFShortExport> Exports; for (Export &E1 : Config->Exports) { COFFShortExport E2; - E2.Name = E1.Name; + // Use SymbolName, which will have any stdcall or fastcall qualifiers. + E2.Name = E1.SymbolName; E2.ExtName = E1.ExtName; E2.Ordinal = E1.Ordinal; E2.Noname = E1.Noname; llvm-svn: 304573 |
||
---|---|---|
.. | ||
Archive.h | ||
ArchiveWriter.h | ||
Binary.h | ||
COFF.h | ||
COFFImportFile.h | ||
COFFModuleDefinition.h | ||
Decompressor.h | ||
ELF.h | ||
ELFObjectFile.h | ||
ELFTypes.h | ||
Error.h | ||
IRObjectFile.h | ||
IRSymtab.h | ||
MachO.h | ||
MachOUniversal.h | ||
ModuleSymbolTable.h | ||
ObjectFile.h | ||
RelocVisitor.h | ||
StackMapParser.h | ||
SymbolicFile.h | ||
SymbolSize.h | ||
Wasm.h | ||
WindowsResource.h |