llvm-project/lld/COFF
Bob Haarman 6c301b6eb1 [coff] use relative instead of absolute __safe_se_handler_base when present
Summary:
__safe_se_handler_base should be either absolute 0 (when no SafeSEH
table is present), or relative to the image base (when the table is
present). An earlier change inadvertedly made the symbol absolute in
both cases, leading to the SafeSEH table not being locatble at run
time. This change fixes that and updates the safeseh test to check for
the presence of the relocation.

Reviewers: rnk, ruiu

Reviewed By: ruiu

Subscribers: ruiu, llvm-commits

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

llvm-svn: 317635
2017-11-07 23:24:10 +00:00
..
CMakeLists.txt [lld] unified COFF and ELF error handling on new Common/ErrorHandler 2017-10-25 22:28:38 +00:00
Chunks.cpp [COFF] Handle ARM64 in getDefaultType 2017-11-06 07:02:33 +00:00
Chunks.h Rename SymbolBody -> Symbol 2017-11-03 21:21:47 +00:00
Config.h Rename SymbolBody -> Symbol 2017-11-03 21:21:47 +00:00
DLL.cpp Remove {get,set}Align accessor functions and use Alignment member variable instead. 2017-09-13 21:54:55 +00:00
DLL.h Revert "Merge IAT and ILT." 2017-06-02 18:49:38 +00:00
Driver.cpp [MinGW] Output debug info by default, unless the -s parameter is passed 2017-11-03 22:10:37 +00:00
Driver.h Rename SymbolBody -> Symbol 2017-11-03 21:21:47 +00:00
DriverUtils.cpp Rename SymbolBody -> Symbol 2017-11-03 21:21:47 +00:00
ICF.cpp Rename SymbolBody -> Symbol 2017-11-03 21:21:47 +00:00
InputFiles.cpp [COFF] Avoid "Body" as a local variable name. 2017-11-03 22:49:02 +00:00
InputFiles.h Rename SymbolBody -> Symbol 2017-11-03 21:21:47 +00:00
LTO.cpp Rename replaceBody -> replaceSymbol. 2017-11-03 22:48:47 +00:00
LTO.h Move new lld's code to Common subdirectory. 2017-10-02 21:00:41 +00:00
MapFile.cpp Rename SymbolBody -> Symbol 2017-11-03 21:21:47 +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 Rename SymbolBody -> Symbol 2017-11-03 21:21:47 +00:00
Memory.h Remove lld/Support/Memory.h. 2016-12-18 14:06:06 +00:00
MinGW.cpp [MinGW] Don't autoexport anything from libmsvcrt or libucrtbase 2017-11-06 20:33:13 +00:00
MinGW.h [COFF] Avoid forward declaring StringSet, fix build 2017-10-19 20:19:16 +00:00
Options.td [MinGW] Output debug info by default, unless the -s parameter is passed 2017-11-03 22:10:37 +00:00
PDB.cpp Rename SymbolBody -> Symbol 2017-11-03 21:21:47 +00:00
PDB.h [LLD COFF/PDB] Incrementally update the build id. 2017-08-15 21:31:41 +00:00
README.md Update the documents of the new LLD. 2016-03-12 06:06:40 +00:00
Strings.cpp Fix build breakage. 2017-06-19 18:04:34 +00:00
Strings.h COFF: Define overloaded toString functions. 2016-12-07 23:17:02 +00:00
SymbolTable.cpp Rename replaceBody -> replaceSymbol. 2017-11-03 22:48:47 +00:00
SymbolTable.h Rename SymbolBody -> Symbol 2017-11-03 21:21:47 +00:00
Symbols.cpp Rename SymbolBody -> Symbol 2017-11-03 21:21:47 +00:00
Symbols.h Rename replaceBody -> replaceSymbol. 2017-11-03 22:48:47 +00:00
Writer.cpp [coff] use relative instead of absolute __safe_se_handler_base when present 2017-11-07 23:24:10 +00:00
Writer.h Remove Symtab aliases. 2017-08-28 21:51:07 +00:00

README.md

See docs/NewLLD.rst