[all-commits] [llvm/llvm-project] d540eb: [ARM64EC] Avoid emitting unnecessary symbol refere...
Eli Friedman via All-commits
all-commits at lists.llvm.org
Tue Jan 21 16:29:44 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d540ebf6cbf97b8bac45af837a741bcb5bd1e1f6
https://github.com/llvm/llvm-project/commit/d540ebf6cbf97b8bac45af837a741bcb5bd1e1f6
Author: Eli Friedman <efriedma at quicinc.com>
Date: 2025-01-21 (Tue, 21 Jan 2025)
Changed paths:
M llvm/lib/CodeGen/AsmPrinter/WinCFGuard.cpp
A llvm/test/CodeGen/AArch64/cfguard-arm64ec.ll
Log Message:
-----------
[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.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list