================
@@ -635,6 +635,13 @@ class CGDebugInfo {
llvm::DILocation *CreateTrapFailureMessageFor(llvm::DebugLoc TrapLocation,
StringRef Category,
StringRef FailureMsg);
+ /// Create a debug location from `Location` that adds an artificial inline
+ /// frame where the frame name is FuncName
+ ///
+ /// This is used to indiciate instructions that come from compiler
+ /// instrumentation.
+ llvm::DILocation *CreateSyntheticInline(llvm::DebugLoc Location,
----------------
delcypher wrote:
Nit. Maybe call it `CreateSyntheticInlineAt` ? Those who know more about Clang
debug info generation (e.g. @adrian-prantl @felipepiovezan @Michael137 ) might
have ideas on a better name though.
https://github.com/llvm/llvm-project/pull/128977
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits