Sign in
llvm
/
llvm-project
/
lldb
/
refs/heads/master
/
.
/
test
/
API
/
functionalities
/
step_scripted
/
main.c
blob: 9023120c44312541fd8802eddc0c78182e86a564 [
file
] [
log
] [
blame
] [
edit
]
#include
<stdio.h>
void
foo
()
{
int
foo
=
10
;
printf
(
"%d\n"
,
foo
);
// Set a breakpoint here.
foo
=
20
;
printf
(
"%d\n"
,
foo
);
}
int
main
()
{
foo
();
// Break on branch instruction.
return
0
;
}