hanchenye-llvm-project/lld/COFF
Martin Storsjo 0f8f0d6d1d [COFF] In MinGW mode, ignore relocations against a discarded section
When GCC produces a jump table as part of a comdat function, the
jump table itself is produced as plain non-comdat rdata section. When
linked with ld.bfd, all of those rdata sections are kept, with
relocations unchanged in the sections that refer to discarded comdat
sections.

This has been observed with at least GCC 5.x and 7.x.

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

llvm-svn: 343422
2018-09-30 18:31:03 +00:00
..
CMakeLists.txt Merge {COFF,ELF}/Strings.cpp to Common/Strings.cpp. 2018-02-28 17:38:19 +00:00
Chunks.cpp [COFF] In MinGW mode, ignore relocations against a discarded section 2018-09-30 18:31:03 +00:00
Chunks.h [COFF] Add support for creating range extension thunks for ARM 2018-09-25 10:59:29 +00:00
Config.h COFF: Add support for /force:multiple option 2018-09-13 22:05:10 +00:00
DLL.cpp [COFF] Support linking to import libraries from GNU binutils 2018-09-21 22:01:06 +00:00
DLL.h [COFF] Support linking to import libraries from GNU binutils 2018-09-21 22:01:06 +00:00
Driver.cpp [lld-link] Generalize handling of /debug and /debug:{none,full,fastlink,ghash,symtab} 2018-09-24 15:28:03 +00:00
Driver.h lld-link: Fix subsystem inference for non-console apps on 32-bit, and fix entry point inference on 32-bit with /nodefaultlib 2018-08-03 12:00:12 +00:00
DriverUtils.cpp lld-link: Remove /msvclto option 2018-08-01 19:00:49 +00:00
ICF.cpp [COFF] When doing automatic dll imports, replace whole .refptr.<var> chunks with __imp_<var> 2018-08-31 07:45:20 +00:00
ICF.h Consistent use of header file for ICF and MarkLive 2018-02-20 22:09:59 +00:00
InputFiles.cpp COFF: Implement safe ICF on rodata using address-significance tables. 2018-08-23 17:44:42 +00:00
InputFiles.h COFF: Implement safe ICF on rodata using address-significance tables. 2018-08-23 17:44:42 +00:00
LTO.cpp Code cleanup in preparation for adding LTO for wasm. NFC. 2018-05-22 20:20:25 +00:00
LTO.h Code cleanup in preparation for adding LTO for wasm. NFC. 2018-05-22 20:20:25 +00:00
MapFile.cpp [COFF] Add support for creating range extension thunks for ARM 2018-09-25 10:59:29 +00:00
MapFile.h COFF: Change the /lldmap output format to be more like the ELF linker. 2017-01-14 03:14:46 +00:00
MarkLive.cpp [COFF] When doing automatic dll imports, replace whole .refptr.<var> chunks with __imp_<var> 2018-08-31 07:45:20 +00:00
MarkLive.h Consistent use of header file for ICF and MarkLive 2018-02-20 22:09:59 +00:00
MinGW.cpp [COFF] Don't do autoexport of symbols from GNU import libraries 2018-09-26 06:13:47 +00:00
MinGW.h [COFF] Don't do autoexport of symbols from GNU import libraries 2018-09-26 06:13:47 +00:00
Options.td [lld-link] Generalize handling of /debug and /debug:{none,full,fastlink,ghash,symtab} 2018-09-24 15:28:03 +00:00
PDB.cpp [LLD][COFF] Fix pdb loading when the path points to a removable device 2018-09-28 21:53:40 +00:00
PDB.h lld-link: Set PDB GUID to hash of PDB contents instead of to a random byte sequence. 2018-09-15 18:37:22 +00:00
README.md
SymbolTable.cpp [COFF] Allow automatic dllimport from gnu import libraries 2018-09-26 06:13:39 +00:00
SymbolTable.h [COFF] don't mark lazy symbols as used in regular objects 2018-09-06 20:23:56 +00:00
Symbols.cpp [COFF] When doing automatic dll imports, replace whole .refptr.<var> chunks with __imp_<var> 2018-08-31 07:45:20 +00:00
Symbols.h [COFF] Allow automatic dllimport from gnu import libraries 2018-09-26 06:13:39 +00:00
Writer.cpp [COFF] Add support for creating range extension thunks for ARM 2018-09-25 10:59:29 +00:00
Writer.h [COFF] Add support for creating range extension thunks for ARM 2018-09-25 10:59:29 +00:00

README.md

See docs/NewLLD.rst