[PATCH] D80791: [AArch64] Generate .note.gnu.property based on module flags.
Momchil Velikov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 5 08:57:34 PDT 2020
chill added inline comments.
================
Comment at: clang/lib/CodeGen/TargetInfo.cpp:5550
+ auto &VMContext = CGM.getLLVMContext();
+ M->addModuleFlag(llvm::Module::Override, "sign-return-address",
+ Scope == LangOptions::SignReturnAddressScopeKind::All
----------------
Wouldn't that cause the sanitiser functions to be also compiled with PAC/BTI? (re: D75181)
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D80791/new/
https://reviews.llvm.org/D80791
More information about the cfe-commits
mailing list