[clang] [llvm] [ARM][AArch64] BTI, GCS, PAC Module flag update. (PR #86212)
Daniil Kovalev via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 22 03:31:33 PDT 2024
================
@@ -89,6 +89,9 @@ namespace llvm {
/// info. Return true if module is modified.
bool UpgradeDebugInfo(Module &M);
+ /// Copies module attributes to the functions in the module.
+ void CopyModuleAttrToFunctions(Module &M);
----------------
kovdan01 wrote:
Nit: it's probably worth having a more detailed comment here. For example, to explicitly say that this function will only have effect on thumb, arm and aarch64 (on other architectures, it just returns at the very beginning) and list attributes which are taken into account.
https://github.com/llvm/llvm-project/pull/86212
More information about the cfe-commits
mailing list