Sign in
llvm
/
llvm-project
/
1da4f4eb02f723bb1393e71f4e7df07952dc103e
/
.
/
lldb
/
test
/
API
/
functionalities
/
builtin-debugtrap
/
main.c
blob: 8010be4a0235eb62407ab82e3bc950bc8fa6c0d2 [
file
]
#include
<stdio.h>
int
global
=
0
;
int
main
()
{
global
=
5
;
// Set a breakpoint here
puts
(
""
);
__builtin_debugtrap
();
global
=
10
;
__builtin_trap
();
global
=
15
;
return
global
;
}