1 // RUN: %clang %s -g -fexceptions %extra-clang-opts -o %t
2 // RUN: %Test_jit_debuginfo %s %t
3 // DEBUGGER: set breakpoint pending on
4 // DEBUGGER: break three
5 // DEBUGGER: run
6 // DEBUGGER: bt 4
7 // CHECK: #0
8 // CHECK: three () at
9 // CHECK: #1
10 // CHECK: in two
11 // CHECK: #2
12 // CHECK: in one
13 // CHECK: #3
14 // CHECK: in main
15
three()16 int three()
17 {
18 return 0;
19 }
20
two()21 int two()
22 {
23 return three();
24 }
25
one()26 int one()
27 {
28 return two();
29 }
30
main(int argc,char ** argv)31 int main(int argc, char** argv)
32 {
33 return one();
34 }
35