You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
460 B
18 lines
460 B
// REQUIRES: lldb
|
|
// UNSUPPORTED: system-windows
|
|
//
|
|
// RUN: %dexter --fail-lt 1.0 -w \
|
|
// RUN: --builder clang-c --debugger 'lldb' --cflags "-O -glldb" -- %s
|
|
|
|
void __attribute__((noinline, optnone)) bar(int *test) {}
|
|
int main() {
|
|
int test;
|
|
test = 23;
|
|
bar(&test); // DexLabel('before_bar')
|
|
return test; // DexLabel('after_bar')
|
|
}
|
|
|
|
// DexExpectWatchValue('test', '23', on_line='before_bar')
|
|
// DexExpectWatchValue('test', '23', on_line='after_bar')
|
|
|