1 // RUN: %build_test_apk --driver driver-simple --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: run-android-app 6 // DEBUGGER: info sources 7 // CHECK: info_sources/info_sources.rs 8 9 #pragma version(1) 10 #pragma rs java_package_name(%PACKAGE%) 11 12 static int function_with_a_segfault() { 13 int* bla = 0; 14 *bla = 5; 15 return 0; 16 } 17 18 void entry() { 19 function_with_a_segfault(); 20 } 21