Mercurial > hg > CbC > CbC_llvm
view debuginfo-tests/dexter-tests/stack-var.c @ 207:2e18cbf3894f
LLVM12
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 08 Jun 2021 06:07:14 +0900 |
parents | 1d019706d866 |
children |
line wrap: on
line source
// 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=ref('before_bar')) // DexExpectWatchValue('test', '23', on_line=ref('after_bar'))