Sign in
◑
Theme
llvm
/
llvm-project
/
cedf87190073de36743d90aa1ff0cf43cfd486d7
/
.
/
lldb
/
test
/
API
/
functionalities
/
step_scripted
/
main.c
blob: 75497be1e377ab790a37b9d6f91d3b5d395f0390 [
file
]
#include
<stdio.h>
void
foo
()
{
int
foo
=
10
;
printf
(
"%d\n"
,
foo
);
// Set a breakpoint here.
foo
=
20
;
printf
(
"%d\n"
,
foo
);
// Run to this breakpoint.
}
int
main
()
{
foo
();
// Break on branch instruction.
return
0
;
}