[llvm-branch-commits] [clang] [clang] [sanitizer] add pseudofunction to indicate array-bounds check (PR #128977)

Florian Mayer via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Mar 25 14:59:21 PDT 2025


================
@@ -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,
----------------
fmayer wrote:

Done.

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


More information about the llvm-branch-commits mailing list