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
16 lines
432 B
C++
16 lines
432 B
C++
// REQUIRES: lldb
|
|
// UNSUPPORTED: system-windows
|
|
//
|
|
// RUN: %dexter --fail-lt 1.0 -w \
|
|
// RUN: --builder 'clang' --debugger 'lldb' \
|
|
// RUN: --cflags "-O0 -glldb -fdebug-prefix-map=%S=/changed" \
|
|
// RUN: --source-root-dir=%S --debugger-use-relative-paths -- %s
|
|
|
|
#include <stdio.h>
|
|
int main() {
|
|
int x = 42;
|
|
printf("hello world: %d\n", x); // DexLabel('check')
|
|
}
|
|
|
|
// DexExpectWatchValue('x', 42, on_line=ref('check'))
|