123456789101112131415161718192021222324252627282930313233343536 |
- // RUN: %build_test_apk --driver driver-simple-exit --out %t --testcase %s %build_test_apk_opts
- // RUN: %Test_jit_debuginfo %s %t
- // DEBUGGER: source android-commands.py
- // DEBUGGER: load-android-app %t
- // DEBUGGER: set breakpoint pending on
- // DEBUGGER: b %s:35
- // DEBUGGER: run-android-app
- // DEBUGGER: bt
- // CHECK: entry
- #pragma version(1)
- #pragma rs java_package_name(com.android.test.rsdebug.breakpoint_sourceline)
- static int twenty() {
- return 20;
- }
- static int some_function() {
- return twenty();
- }
- static int foo() {
- return some_function();
- }
- static int bar() {
- return foo();
- }
- int root() {
- return bar();
- }
- void entry() {
- bar();
- }
|