1 // RUN: %build_test_apk --driver driver-simple-exit --out %t --testcase %s %build_test_apk_opts
2 // RUN: %Test_jit_debuginfo %s %t
3 // DEBUGGER: source android-commands.py
4 // DEBUGGER: load-android-app %t
5 // DEBUGGER: set breakpoint pending on
6 // DEBUGGER: b %s:35
7 // DEBUGGER: run-android-app
8 // DEBUGGER: bt
9 // CHECK: entry
10 
11 #pragma version(1)
12 #pragma rs java_package_name(com.android.test.rsdebug.breakpoint_sourceline)
13 
14 static int twenty() {
15   return 20;
16 }
17 
18 static int some_function() {
19   return twenty();
20 }
21 
22 static int foo() {
23   return some_function();
24 }
25 
26 static int bar() {
27   return foo();
28 }
29 
30 int root() {
31   return bar();
32 }
33 
34 void entry() {
35   bar();
36 }
37