brintos

brintos / llvm-project-archived public Read only

0
0
Text · 474 B · 8447dd1 Raw
18 lines · c
1// REQUIRES: lldb2// UNSUPPORTED: system-windows3//4// RUN: %clang -std=gnu11 -O -glldb %s -o %t5// RUN: %dexter --fail-lt 1.0 -w --binary %t %dexter_lldb_args -- %s6 7void __attribute__((noinline, optnone)) bar(int *test) {}8int main() {9  int test;10  test = 23;11  bar(&test); // DexLabel('before_bar')12  return test; // DexLabel('after_bar')13}14 15// DexExpectWatchValue('test', '23', on_line=ref('before_bar'))16// DexExpectWatchValue('test', '23', on_line=ref('after_bar'))17 18