Files
clang-p2996/llvm/lib/CodeGen/AsmPrinter/WinCFGuard.cpp
Eli Friedman d540ebf6cb [ARM64EC] Avoid emitting unnecessary symbol references with /guard:cf. (#123235)
.gfids$y contains a list of indirect calls for Control Flow Guard. This
wasn't working properly for ARM64EC: direct calls were being treated as
indirect calls. Make sure we correctly filter out direct calls.

This improves the protection from Control Flow Guard, and also fixes a
link error when using certain functions from oldnames.lib.
2025-01-21 16:29:23 -08:00

5.0 KiB