Summary: This allows to run dexter tests with separately compiled binaries that are specified via --binary if the source file location changed between compilation and dexter test run. Reviewers: TWeaver, jmorse, probinson, #debug-info Reviewed By: jmorse Subscribers: #debug-info, cmtice, llvm-commits Tags: #llvm, #debug-info Differential Revision: https://reviews.llvm.org/D81319
16 lines
397 B
C++
16 lines
397 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 -- %s
|
|
|
|
#include <stdio.h>
|
|
int main() {
|
|
int x = 42;
|
|
printf("hello world: %d\n", x); // DexLabel('check')
|
|
}
|
|
|
|
// DexExpectWatchValue('x', 42, on_line='check')
|