[PATCH] D87544: [CFGuard] Add address-taken IAT tables and delay-load support
Andrew Paverd via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 13 14:07:49 PST 2020
ajpaverd updated this revision to Diff 305260.
ajpaverd added a comment.
Correctly handle "__imp_" symbols in .giats and .gfids sections
For address-taken dllimport functions with a corresponding "__imp_" symbol defined, add the "__imp_" symbol to the .giats section. Always add the symbols of address-taken functions to the .gfids section.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D87544/new/
https://reviews.llvm.org/D87544
Files:
lld/COFF/DLL.cpp
lld/COFF/ICF.cpp
lld/COFF/InputFiles.cpp
lld/COFF/InputFiles.h
lld/COFF/Symbols.h
lld/COFF/Writer.cpp
lld/test/COFF/giats.s
llvm/include/llvm/MC/MCObjectFileInfo.h
llvm/lib/CodeGen/AsmPrinter/WinCFGuard.cpp
llvm/lib/CodeGen/AsmPrinter/WinCFGuard.h
llvm/lib/MC/MCObjectFileInfo.cpp
llvm/test/CodeGen/WinCFGuard/cfguard-giats.ll
llvm/tools/llvm-readobj/COFFDumper.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87544.305260.patch
Type: text/x-patch
Size: 22378 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201113/a92f7e29/attachment.bin>
More information about the llvm-commits
mailing list