[clang] Add support for builtin_verbose_trap (PR #79230)
Adrian Prantl via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 24 08:53:56 PST 2024
================
@@ -3416,6 +3437,27 @@ llvm::DIMacroFile *CGDebugInfo::CreateTempMacroFile(llvm::DIMacroFile *Parent,
return DBuilder.createTempMacroFile(Parent, Line, FName);
}
+llvm::DILocation *CGDebugInfo::CreateTrapFailureMessageFor(
+ llvm::DebugLoc TrapLocation, StringRef Prefix, StringRef FailureMsg) {
+ // Create debug info that describes a fake function whose name is the failure
----------------
adrian-prantl wrote:
```suggestion
// Create debug info that describes an inlined function whose name is the error
```
https://github.com/llvm/llvm-project/pull/79230
More information about the cfe-commits
mailing list