================ @@ -346,6 +346,14 @@ 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. + std::map<std::string, llvm::DISubprogram *> InlinedTrapFuncMap; ---------------- var-const wrote:
Nit: I think this header might need to include `<map>` and `<string>`, otherwise it appears to rely on those headers being included transitively from somewhere. (Unless of course there's some Clang convention against doing that) 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