
Discussion thread: https://lists.llvm.org/pipermail/llvm-dev/2021-January/148048.html Move debuginfo-test into a subdirectory of a new top-level directory, called cross-project-tests. The new name replaces "debuginfo-test" as an LLVM project enabled via LLVM_ENABLE_PROJECTS. Differential Revision: https://reviews.llvm.org/D95339 Reviewed by: aprantl
18 lines
470 B
C
18 lines
470 B
C
// 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'))
|
|
|