[clang] [llvm] Uncorrelate CFI and Callgraph related type metadata annotations (PR #204266)

Paul Kirth via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 17 09:33:00 PDT 2026


================
@@ -3395,17 +3395,19 @@ static bool hasExistingGeneralizedTypeMD(llvm::Function *F) {
 
 void CodeGenModule::createIndirectFunctionTypeMD(const FunctionDecl *FD,
----------------
ilovepi wrote:

Is this API always guarded by a check for the callgraph-section being enabled? Since this  looks like the only place we add it, maybe that guard should just be here?

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


More information about the cfe-commits mailing list