[clang] [cfi][CodeGen] Call SetLLVMFunctionAttributes{, ForDefinition} on __cf… (PR #78253)

Pavel Kosov via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 1 13:07:19 PST 2024


================
@@ -3443,11 +3443,28 @@ void CodeGenFunction::EmitCfiSlowPathCheck(
 void CodeGenFunction::EmitCfiCheckStub() {
   llvm::Module *M = &CGM.getModule();
   auto &Ctx = M->getContext();
+  auto &C = getContext();
----------------
kpdev wrote:

Changed, please review

https://github.com/llvm/llvm-project/pull/78253


More information about the cfe-commits mailing list