aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanak@gmail.com>2024-06-25 08:33:05 -0700
committerGitHub <noreply@github.com>2024-06-25 08:33:05 -0700
commit2604830aacdd563715da030d0396b565e912436f (patch)
tree3d396e526dca83fe550fc71c19fabadc28b352f4 /flang/lib/Frontend/CompilerInvocation.cpp
parent731db06a878f5c8cb29b36d526a54493677ea89f (diff)
downloadllvm-2604830aacdd563715da030d0396b565e912436f.zip
llvm-2604830aacdd563715da030d0396b565e912436f.tar.gz
llvm-2604830aacdd563715da030d0396b565e912436f.tar.bz2
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 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions