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

Dan Liew via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Mar 5 13:29:46 PST 2025


================
@@ -3598,6 +3598,14 @@ llvm::DIMacroFile *CGDebugInfo::CreateTempMacroFile(llvm::DIMacroFile *Parent,
   return DBuilder.createTempMacroFile(Parent, Line, FName);
 }
 
+llvm::DILocation *CGDebugInfo::CreateSyntheticInline(llvm::DebugLoc Location,
+                                                     StringRef FuncName) {
+  llvm::DISubprogram *TrapSP =
----------------
delcypher wrote:

Nit. The name `TrapSP` doesn't make much sense here given this function isn't specifically for traps.

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


More information about the llvm-branch-commits mailing list