diff options
| author | Akira Hatanaka <ahatanak@gmail.com> | 2024-06-25 08:33:05 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-25 08:33:05 -0700 |
| commit | 2604830aacdd563715da030d0396b565e912436f (patch) | |
| tree | 3d396e526dca83fe550fc71c19fabadc28b352f4 /lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPlatformPythonInterface.cpp | |
| parent | 731db06a878f5c8cb29b36d526a54493677ea89f (diff) | |
Add support for __builtin_verbose_trap (#79230)
The builtin causes the program to stop its execution abnormally and
shows a human-readable description of the reason for the termination
when a debugger is attached or in a symbolicated crash log.
The motivation for the builtin is explained in the following RFC:
https://discourse.llvm.org/t/rfc-adding-builtin-verbose-trap-string-literal/75845
clang's CodeGen lowers the builtin to `llvm.trap` and emits debugging
information that represents an artificial inline frame whose name
encodes the category and reason strings passed to the builtin.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPlatformPythonInterface.cpp')
0 files changed, 0 insertions, 0 deletions
