forked from OSchip/llvm-project
2397f67166
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 |
||
---|---|---|
.. | ||
Inputs | ||
duplicate.test | ||
help.test | ||
implibs.test | ||
infer-output-path.test | ||
invalid.test | ||
libpath.test | ||
list.test | ||
lit.local.cfg | ||
machine-mismatch.test | ||
nest.test | ||
no-inputs.test | ||
resource.test | ||
thin-relative.test | ||
thin.test | ||
tool-name.test | ||
use-paths.test | ||
xfghashmap-list.test |