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 twenty 7 // DEBUGGER: run-android-app 8 // DEBUGGER: bt 9 // CHECK: twenty 10 // CHECK: some_function 11 // CHECK: foo 12 // CHECK: bar 13 // CHECK: entry 14 // CHECK: breakpoint_inlined_function.rs: 15 16 #pragma version(1) 17 #pragma rs java_package_name(%PACKAGE%) 18 19 static int twenty() { 20 return 20; 21 } 22 23 static int some_function() { 24 return twenty(); 25 } 26 27 static int foo() { 28 return some_function(); 29 } 30 31 static int bar() { 32 return foo(); 33 } 34 35 int root() { 36 return bar(); 37 } 38 39 void entry() { 40 bar(); 41 } 42