================ @@ -346,6 +348,15 @@ class CGDebugInfo { const FieldDecl *BitFieldDecl, const llvm::DIDerivedType *BitFieldDI, llvm::ArrayRef<llvm::Metadata *> PreviousFieldsDI, const RecordDecl *RD); + // A cache that maps artificial inlined function names used for + // __builtin_verbose_trap to subprograms. + llvm::StringMap<llvm::DISubprogram *> InlinedTrapFuncMap; ---------------- ahatanak wrote:
It doesn't live longer than a compilation unit. `CodeGenModule::DebugInfo` is created in the constructor of `CodeGenModule`. https://github.com/llvm/llvm-project/pull/79230 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits