1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 11:33:24 +02:00
llvm-mirror/lib/Object
Martin Storsjo 73cc0e9c2c [COFF] Improve correctness of def parsing for GNU features
The operator == used for exporting a function with a different
name in the DLL compared to the name in the import library
(which is useful for adding linker level aliases for function
in the import library) is a feature distinct and different from
the operator = used for exporting a function with a different
name (both in import library and DLL) than in the implementation
producing the DLL.

When creating an import library using dlltool, from a def file that
contains forwards (Func = OtherDll.Func), this shouldn't affect the
produced import library, which should still behave just as if it
was a normal exported function.

This clears a lot of confusion and subtle misunderstandings, and
avoids a parameter that was used to avoid creating weak aliases
when invoked from lld. (This parameter was added previously due to
the existing conflation of the two features.)

Differential Revision: https://reviews.llvm.org/D46245

llvm-svn: 331859
2018-05-09 09:21:53 +00:00
..
Archive.cpp Object: Find terminator correctly when reading long filenames in GNU archives (PR37244) 2018-05-08 08:22:58 +00:00
ArchiveWriter.cpp s/LLVM_ON_WIN32/_WIN32/, llvm 2018-04-29 00:45:03 +00:00
Binary.cpp Update a few switch statements to handle file_magic::pdb. 2018-03-07 18:58:33 +00:00
CMakeLists.txt
COFFImportFile.cpp [COFF] Improve correctness of def parsing for GNU features 2018-05-09 09:21:53 +00:00
COFFModuleDefinition.cpp [COFF] Improve correctness of def parsing for GNU features 2018-05-09 09:21:53 +00:00
COFFObjectFile.cpp COFF: Make SectionChunk::Relocs field an ArrayRef. NFCI. 2018-04-17 01:54:34 +00:00
Decompressor.cpp
ELF.cpp
ELFObjectFile.cpp
Error.cpp
IRObjectFile.cpp
IRSymtab.cpp IWYU for llvm-config.h in llvm, additions. 2018-04-30 14:59:11 +00:00
LLVMBuild.txt
MachOObjectFile.cpp [llvm-objdump] Print "..." instead of random data for virtual sections 2018-04-19 17:02:57 +00:00
MachOUniversal.cpp
ModuleSymbolTable.cpp LowerTypeTests: Propagate symver directives 2018-04-20 01:36:48 +00:00
Object.cpp
ObjectFile.cpp Update a few switch statements to handle file_magic::pdb. 2018-03-07 18:58:33 +00:00
RecordStreamer.cpp LowerTypeTests: Propagate symver directives 2018-04-20 01:36:48 +00:00
RecordStreamer.h LowerTypeTests: Propagate symver directives 2018-04-20 01:36:48 +00:00
SymbolicFile.cpp Update a few switch statements to handle file_magic::pdb. 2018-03-07 18:58:33 +00:00
SymbolSize.cpp Fix computeSymbolSizes SEGFAULT on invalid file 2018-04-23 16:08:01 +00:00
WasmObjectFile.cpp typo 2018-04-27 00:17:24 +00:00
WindowsResource.cpp