aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorAndrew Paverd <andrew.paverd@microsoft.com>2020-11-17 18:02:13 -0800
committerArthur Eubanks <aeubanks@google.com>2020-11-17 18:24:45 -0800
commit0139c8af8da7a89c02ed802df46492f5caddb41b (patch)
tree681a5c62ff97595cf8a5a149428b9e35d0ff396b /clang/lib/Frontend/CompilerInvocation.cpp
parent63a8ee3ddabe633bd646ea5abb8b9fea38b3d2f2 (diff)
downloadllvm-0139c8af8da7a89c02ed802df46492f5caddb41b.zip
llvm-0139c8af8da7a89c02ed802df46492f5caddb41b.tar.gz
llvm-0139c8af8da7a89c02ed802df46492f5caddb41b.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 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions