diff options
author | Pavel Samolysov <pavel.samolysov@intel.com> | 2022-03-02 13:05:46 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2022-03-02 13:29:35 +0200 |
commit | 2397f67166156b73749e11ef1947fa34d5dbd4f7 (patch) | |
tree | 43eb8f59f8ce7bd38040f4f493b55e04157ba42c /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | |
parent | df0a2b4f309a2ea6a3038526722ac648d4678d47 (diff) | |
download | llvm-2397f67166156b73749e11ef1947fa34d5dbd4f7.zip llvm-2397f67166156b73749e11ef1947fa34d5dbd4f7.tar.gz llvm-2397f67166156b73749e11ef1947fa34d5dbd4f7.tar.bz2 |
[Object] Skip section offset checking for /<XFGHASHMAP>/
Starting from Windows SDK for Windows 11 (10.0.22000.x), all the system
libraries (.lib files) contain a section with the '/<XFGHASHMAP>/' name.
This looks like the libraries are built with control flow guard enabled:
https://docs.microsoft.com/en-us/cpp/build/reference/guard-enable-control-flow-guard?view=msvc-170
To let the LLVM tools (llvm-ar, llvm-lib) work with these libraries,
this patch just skips the section offset check for sections with the
'/<XFGHASHMAP>/' name.
Closes: llvm/llvm-project#53814
Signed-off-by: Pavel Samolysov <pavel.samolysov@intel.com>
Reviewed By: jhenderson, thieta
Differential Revision: https://reviews.llvm.org/D120645
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
0 files changed, 0 insertions, 0 deletions