aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/SymbolicFile.cpp
diff options
context:
space:
mode:
authorAndrew Paverd <andrew.paverd@microsoft.com>2020-10-01 10:07:40 +0100
committerDavid Chisnall <David.Chisnall@microsoft.com>2020-10-01 12:45:07 +0100
commitef4e971e5e18ae796466623df8f26265ba6bdfb5 (patch)
treefbe0513ea96471d4cc405b17f63708833eaeb6d9 /llvm/lib/Object/SymbolicFile.cpp
parentfcf70e1e3b1d57d5fde6b99d0188d1b1774429af (diff)
downloadllvm-ef4e971e5e18ae796466623df8f26265ba6bdfb5.zip
llvm-ef4e971e5e18ae796466623df8f26265ba6bdfb5.tar.gz
llvm-ef4e971e5e18ae796466623df8f26265ba6bdfb5.tar.bz2
[CFGuard] Add address-taken IAT tables and delay-load support
This patch adds support for creating Guard Address-Taken IAT Entry Tables (.giats$y sections) in object files, matching the behavior of MSVC. These contain lists of address-taken imported functions, which are used by the linker to create the final GIATS table. Additionally, if any DLLs are delay-loaded, the linker must look through the .giats tables and add the respective load thunks of address-taken imports to the GFIDS table, as these are also valid call targets. Reviewed By: rnk Differential Revision: https://reviews.llvm.org/D87544
Diffstat (limited to 'llvm/lib/Object/SymbolicFile.cpp')
0 files changed, 0 insertions, 0 deletions