Skip to content

Commit 45a40c1

Browse files
committed
Re-reapply "[Dexter] Remove builder from Dexter"
This patch makes a further attempt to fix the tests broken by the previous revision by ensuring that the command line for the modified Dexter tests use -std=gnu++11, in keeping with the old build script. This reverts commit 5647f29.
1 parent cd8fe1d commit 45a40c1

File tree

130 files changed

+287
-686
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

130 files changed

+287
-686
lines changed

cross-project-tests/debuginfo-tests/dexter-tests/aggregate-indirect-arg.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
// REQUIRES: lldb
22
// UNSUPPORTED: system-windows
33
//
4+
// RUN: %clang -std=gnu++11 -O0 -g -lstdc++ %s -o %t
45
// RUN: %dexter --fail-lt 1.0 -w \
5-
// RUN: --builder 'clang' --debugger 'lldb' --cflags "-O0 -g" \
6-
// RUN: --ldflags="-lstdc++" -- %s
6+
// RUN: --binary %t --debugger 'lldb' -- %s
77
// Radar 8945514
88

99
class SVal {

cross-project-tests/debuginfo-tests/dexter-tests/asan-deque.cpp

+2-3
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,9 @@
88
// lldb-8, even outside of dexter, will sometimes trigger an asan fault in
99
// the debugged process and generally freak out.
1010

11+
// RUN: %clang -std=gnu++11 -O1 -glldb -fsanitize=address -arch x86_64 %s -o %t
1112
// RUN: %dexter --fail-lt 1.0 -w \
12-
// RUN: --builder 'clang' --debugger 'lldb' \
13-
// RUN: --cflags "-O1 -glldb -fsanitize=address -arch x86_64" \
14-
// RUN: --ldflags="-fsanitize=address" -- %s
13+
// RUN: --binary %t --debugger 'lldb' -- %s
1514
#include <deque>
1615

1716
struct A {

cross-project-tests/debuginfo-tests/dexter-tests/asan.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
// Zorg configures the ASAN stage2 bots to not build the asan
44
// compiler-rt. Only run this test on non-asanified configurations.
55
//
6+
// RUN: %clang -std=gnu11 --driver-mode=gcc -O0 -glldb -fblocks -arch x86_64 \
7+
// RUN: -fsanitize=address %s -o %t
68
// RUN: %dexter --fail-lt 1.0 -w \
7-
// RUN: --builder 'clang-c' --debugger 'lldb' \
8-
// RUN: --cflags "--driver-mode=gcc -O0 -glldb -fblocks -arch x86_64 \
9-
// RUN: -fsanitize=address" --ldflags="-fsanitize=address" -- %s
9+
// RUN: --binary %t --debugger 'lldb' -- %s
1010

1111
struct S {
1212
int a[8];

cross-project-tests/debuginfo-tests/dexter-tests/ctor.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
// REQUIRES: lldb
22
// UNSUPPORTED: system-windows
33
//
4+
// RUN: %clang -std=gnu++11 -O0 -glldb %s -o %t
45
// RUN: %dexter --fail-lt 1.0 -w \
5-
// RUN: --builder 'clang' --debugger 'lldb' --cflags "-O0 -glldb" -- %s
6+
// RUN: --binary %t --debugger 'lldb' -- %s
67

78
class A {
89
public:

cross-project-tests/debuginfo-tests/dexter-tests/dbg-arg.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
// UNSUPPORTED: system-windows
33
//
44
// This test case checks debug info during register moves for an argument.
5+
// RUN: %clang -std=gnu11 -m64 -mllvm -fast-isel=false -g %s -o %t
56
// RUN: %dexter --fail-lt 1.0 -w \
6-
// RUN: --builder clang-c --debugger 'lldb' \
7-
// RUN: --cflags "-m64 -mllvm -fast-isel=false -g" -- %s
7+
// RUN: --binary %t --debugger 'lldb' -- %s
88
//
99
// Radar 8412415
1010

cross-project-tests/debuginfo-tests/dexter-tests/deferred_globals.cpp

+2-3
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@
44

55
// REQUIRES: lldb
66
// UNSUPPORTED: system-windows
7-
7+
// RUN: %clang -std=gnu++11 -O0 -g %s -o %t
88
// RUN: %dexter --fail-lt 1.0 -w \
9-
// RUN: --builder 'clang' --debugger 'lldb' \
10-
// RUN: --cflags "-g -O0" -v -- %s
9+
// RUN: --binary %t --debugger 'lldb' -v -- %s
1110

1211
const int d = 100;
1312

cross-project-tests/debuginfo-tests/dexter-tests/global-constant.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// REQUIRES: system-windows
22
//
3-
// RUN: %dexter --fail-lt 1.0 -w --builder 'clang-cl_vs2015' \
4-
// RUN: --debugger 'dbgeng' --cflags '/Z7 /Zi' --ldflags '/Z7 /Zi' -- %s
3+
// RUN: %clang_cl /Z7 /Zi %s -o %t
4+
// RUN: %dexter --fail-lt 1.0 -w --binary %t --debugger 'dbgeng' -- %s
55

66
// Check that global constants have debug info.
77

cross-project-tests/debuginfo-tests/dexter-tests/hello.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// REQUIRES: system-windows
22
//
3-
// RUN: %dexter --fail-lt 1.0 -w --builder 'clang-cl_vs2015' \
4-
// RUN: --debugger 'dbgeng' --cflags '/Z7 /Zi' --ldflags '/Z7 /Zi' -- %s
3+
// RUN: %clang_cl /Z7 /Zi %s -o %t
4+
// RUN: %dexter --fail-lt 1.0 -w --binary %t --debugger 'dbgeng' -- %s
55

66
#include <stdio.h>
77
int main() {

cross-project-tests/debuginfo-tests/dexter-tests/inline-line-gap.cpp

+5-6
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
// REQUIRES: system-windows
22
//
3-
// RUN: %dexter --fail-lt 1.0 -w --builder 'clang-cl_vs2015' \
4-
// RUN: --debugger 'dbgeng' --cflags '/Od /Z7 /Zi' \
5-
// RUN: --ldflags '/Od /Z7 /Zi' -- %s
3+
// RUN: %clang_cl /Od /Z7 /Zi %s -o %t
4+
// RUN: %dexter --fail-lt 1.0 -w --binary %t --debugger 'dbgeng' -- %s
65
//
7-
// RUN: %dexter --fail-lt 1.0 -w --builder 'clang-cl_vs2015' \
8-
// RUN: --debugger 'dbgeng' --cflags '/O2 /Z7 /Zi' \
9-
// RUN: --ldflags '/O2 /Z7 /Zi' -- %s
6+
// RUN: %clang_cl /O2 /Z7 /Zi %s -o %t
7+
// RUN: %dexter --fail-lt 1.0 -w --binary %t \
8+
// RUN: --debugger 'dbgeng' -- %s
109

1110
// This code is structured to have an early exit with an epilogue in the middle
1211
// of the function, which creates a gap between the beginning of the inlined

cross-project-tests/debuginfo-tests/dexter-tests/memvars/bitcast.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
// REQUIRES: lldb
55
// UNSUPPORTED: system-windows
6-
// RUN: %dexter --fail-lt 1.0 -w --debugger lldb \
7-
// RUN: --builder 'clang-c' --cflags "-O3 -glldb" -- %s
6+
// RUN: %clang -std=gnu11 -O3 -glldb %s -o %t
7+
// RUN: %dexter --fail-lt 1.0 -w --debugger lldb --binary %t -- %s
88

99
//// Adapted from https://bugs.llvm.org/show_bug.cgi?id=34136#c1
1010
//// LowerDbgDeclare has since been updated to look through bitcasts. We still

cross-project-tests/debuginfo-tests/dexter-tests/memvars/const-branch.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
// REQUIRES: lldb
55
// UNSUPPORTED: system-windows
6-
// RUN: %dexter --fail-lt 1.0 -w --debugger lldb \
7-
// RUN: --builder 'clang-c' --cflags "-O3 -glldb" -- %s
6+
// RUN: %clang -std=gnu11 -O3 -glldb %s -o %t
7+
// RUN: %dexter --fail-lt 1.0 -w --debugger lldb --binary %t -- %s
88

99
//// Adapted from https://bugs.llvm.org/show_bug.cgi?id=34136#c4
1010

cross-project-tests/debuginfo-tests/dexter-tests/memvars/ctrl-flow.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// REQUIRES: lldb
22
// UNSUPPORTED: system-windows
3-
// RUN: %dexter --fail-lt 1.0 -w --debugger lldb \
4-
// RUN: --builder clang-c --cflags "-O2 -glldb" -- %s
3+
// RUN: %clang -std=gnu11 -O2 -glldb %s -o %t
4+
// RUN: %dexter --fail-lt 1.0 -w --debugger lldb --binary %t -- %s
55

66
//// Check that we give good locations to a variable ('local') which is escaped
77
//// down some control paths and not others. This example is handled well currently.

cross-project-tests/debuginfo-tests/dexter-tests/memvars/implicit-ptr.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
// REQUIRES: lldb
55
// UNSUPPORTED: system-windows
6-
// RUN: %dexter --fail-lt 1.0 -w --debugger lldb \
7-
// RUN: --builder 'clang-c' --cflags "-O3 -glldb" -- %s
6+
// RUN: %clang -std=gnu11 -O3 -glldb %s -o %t
7+
// RUN: %dexter --fail-lt 1.0 -w --debugger lldb --binary %t -- %s
88

99
//// Check that 'param' in 'fun' can be read throughout, and that 'pa' and 'pb'
1010
//// can be dereferenced in the debugger even if we can't provide the pointer

cross-project-tests/debuginfo-tests/dexter-tests/memvars/inline-escaping-function.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
// REQUIRES: lldb
55
// UNSUPPORTED: system-windows
6-
// RUN: %dexter --fail-lt 1.0 -w --debugger lldb \
7-
// RUN: --builder 'clang-c' --cflags "-O3 -glldb" -- %s
6+
// RUN: %clang -std=gnu11 -O3 -glldb %s -o %t
7+
// RUN: %dexter --fail-lt 1.0 -w --debugger lldb --binary %t -- %s
88

99
// 1. param is escaped by inlineme(&param) so it is not promoted by
1010
// SROA/mem2reg.

cross-project-tests/debuginfo-tests/dexter-tests/memvars/inlining-dse.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
// REQUIRES: lldb
55
// UNSUPPORTED: system-windows
6-
// RUN: %dexter --fail-lt 1.0 -w --debugger lldb \
7-
// RUN: --builder clang-c --cflags "-O2 -glldb" -- %s
6+
// RUN: %clang -std=gnu11 -O2 -glldb %s -o %t
7+
// RUN: %dexter --fail-lt 1.0 -w --debugger lldb --binary %t -- %s
88
//
99
//// Check that once-escaped variable 'param' can still be read after we
1010
//// perform inlining + mem2reg, and that we see the DSE'd value 255.

cross-project-tests/debuginfo-tests/dexter-tests/memvars/inlining.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// REQUIRES: lldb
22
// UNSUPPORTED: system-windows
3-
// RUN: %dexter --fail-lt 1.0 -w --debugger lldb \
4-
// RUN: --builder clang-c --cflags "-O2 -glldb" -- %s
3+
// RUN: %clang -std=gnu11 -O2 -glldb %s -o %t
4+
// RUN: %dexter --fail-lt 1.0 -w --debugger lldb --binary %t -- %s
55
//
66
//// Check that the once-escaped variable 'param' can still be read after
77
//// we perform inlining + mem2reg. See D89810 and D85555.

cross-project-tests/debuginfo-tests/dexter-tests/memvars/loop.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
// REQUIRES: lldb
55
// UNSUPPORTED: system-windows
6-
// RUN: %dexter --fail-lt 1.0 -w --debugger lldb \
7-
// RUN: --builder 'clang-c' --cflags "-O3 -glldb" -- %s
6+
// RUN: %clang -std=gnu11 -O3 -glldb %s -o %t
7+
// RUN: %dexter --fail-lt 1.0 -w --debugger lldb --binary %t -- %s
88

99
//// Check that escaped local 'param' in function 'fun' has sensible debug info
1010
//// after the escaping function 'use' gets arg promotion (int* -> int). Currently

cross-project-tests/debuginfo-tests/dexter-tests/memvars/merged-store.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
// REQUIRES: lldb
55
// UNSUPPORTED: system-windows
6-
// RUN: %dexter --fail-lt 1.0 -w --debugger lldb \
7-
// RUN: --builder 'clang-c' --cflags "-O3 -glldb" -- %s
6+
// RUN: %clang -std=gnu11 -O3 -glldb %s -o %t
7+
// RUN: %dexter --fail-lt 1.0 -w --debugger lldb --binary %t -- %s
88

99
// 1. parama is escaped by esc(&parama) so it is not promoted by
1010
// SROA/mem2reg.

cross-project-tests/debuginfo-tests/dexter-tests/memvars/ptr-to.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
// REQUIRES: lldb
66
// UNSUPPORTED: system-windows
7-
// RUN: %dexter --fail-lt 1.0 -w --debugger lldb \
8-
// RUN: --builder clang-c --cflags "-O2 -glldb" -- %s
7+
// RUN: %clang -std=gnu11 -O2 -glldb %s -o %t
8+
// RUN: %dexter --fail-lt 1.0 -w --debugger lldb --binary %t -- %s
99
//
1010
//// Check that a pointer to a variable living on the stack dereferences to the
1111
//// variable value.

cross-project-tests/debuginfo-tests/dexter-tests/memvars/struct-dse.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
// REQUIRES: lldb
66
// UNSUPPORTED: system-windows
7-
// RUN: %dexter --fail-lt 1.0 -w --debugger lldb \
8-
// RUN: --builder clang-c --cflags "-O2 -glldb" -- %s
7+
// RUN: %clang -std=gnu11 -O2 -glldb %s -o %t
8+
// RUN: %dexter --fail-lt 1.0 -w --debugger lldb --binary %t -- %s
99
//
1010
//// Check debug-info for the escaped struct variable num is reasonable.
1111

cross-project-tests/debuginfo-tests/dexter-tests/memvars/unused-merged-value.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
// REQUIRES: lldb
77
// UNSUPPORTED: system-windows
8-
// RUN: %dexter --fail-lt 0.1 -w --debugger lldb \
9-
// RUN: --builder 'clang-c' --cflags "-O3 -glldb" -- %s
8+
// RUN: %clang -std=gnu11 -O3 -glldb %s -o %t
9+
// RUN: %dexter --fail-lt 0.1 -w --debugger lldb --binary %t -- %s
1010
// See NOTE at end for more info about the RUN command.
1111

1212
// 1. SROA/mem2reg fully promotes parama.

cross-project-tests/debuginfo-tests/dexter-tests/namespace.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
// REQUIRES: lldb
66
// UNSUPPORTED: system-windows
77

8+
// RUN: %clang -g -O0 %s -o %t
89
// RUN: %dexter --fail-lt 1.0 -w \
9-
// RUN: --builder 'clang' --debugger 'lldb' \
10-
// RUN: --cflags "-g -O0" -v -- %s
10+
// RUN: --binary %t --debugger 'lldb' -v -- %s
1111

1212
#include <stdio.h>
1313

cross-project-tests/debuginfo-tests/dexter-tests/nrvo-string.cpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
// Zorg configures the ASAN stage2 bots to not build the asan
88
// compiler-rt. Only run this test on non-asanified configurations.
99
//
10+
// RUN: %clang -std=gnu++11 -O0 -glldb -fno-exceptions %s -o %t
1011
// RUN: %dexter --fail-lt 1.0 -w \
11-
// RUN: --builder 'clang' --debugger 'lldb' \
12-
// RUN: --cflags "-O0 -glldb -fno-exceptions" -- %s
12+
// RUN: --binary %t --debugger 'lldb' -- %s
1313
//
14+
// RUN: %clang -std=gnu++11 -O1 -glldb -fno-exceptions %s -o %t
1415
// RUN: %dexter --fail-lt 1.0 -w \
15-
// RUN: --builder 'clang' --debugger 'lldb' \
16-
// RUN: --cflags "-O1 -glldb -fno-exceptions" -- %s
16+
// RUN: --binary %t --debugger 'lldb' -- %s
1717
//
1818
// PR34513
1919
volatile int sideeffect = 0;

cross-project-tests/debuginfo-tests/dexter-tests/nrvo.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
//
44
// REQUIRES: system-windows
55
//
6-
// RUN: %dexter --fail-lt 1.0 -w --builder 'clang-cl_vs2015' \
7-
// RUN: --debugger 'dbgeng' --cflags '/Z7 /Zi' --ldflags '/Z7 /Zi' -- %s
6+
// RUN: %clang_cl /Z7 /Zi %s -o %t
7+
// RUN: %dexter --fail-lt 1.0 -w --binary %t --debugger 'dbgeng' -- %s
88

99
struct string {
1010
string() {}

cross-project-tests/debuginfo-tests/dexter-tests/optnone-fastmath.cpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1+
// RUN: %clang -std=gnu++11 -O2 -ffast-math -g %s -o %t
12
// RUN: %dexter --fail-lt 1.0 -w \
2-
// RUN: --builder 'clang' --debugger 'lldb' \
3-
// RUN: --cflags "-ffast-math -O2 -g" -- %s
3+
// RUN: --binary %t --debugger 'lldb' -- %s
4+
// RUN: %clang -std=gnu++11 -O0 -ffast-math -g %s -o %t
45
// RUN: %dexter --fail-lt 1.0 -w \
5-
// RUN: --builder 'clang' --debugger 'lldb' \
6-
// RUN: --cflags "-ffast-math -O0 -g" -- %s
6+
// RUN: --binary %t --debugger 'lldb' -- %s
77

88
// REQUIRES: lldb
99
// UNSUPPORTED: system-windows

cross-project-tests/debuginfo-tests/dexter-tests/optnone-loops.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
// UNSUPPORTED: system-windows
66
// UNSUPPORTED: system-darwin
77

8+
// RUN: %clang -std=gnu++11 -O2 -g %s -o %t
89
// RUN: %dexter --fail-lt 1.0 -w \
9-
// RUN: --builder 'clang' --debugger 'lldb' \
10-
// RUN: --cflags "-O2 -g" -- %s
10+
// RUN: --binary %t --debugger 'lldb' -- %s
1111

1212
// A simple loop of assignments.
1313
// With optimization level > 0 the compiler reorders basic blocks

cross-project-tests/debuginfo-tests/dexter-tests/optnone-simple-functions.cpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1+
// RUN: %clang++ -std=gnu++11 -O2 -g %s -o %t
12
// RUN: %dexter --fail-lt 1.0 -w \
2-
// RUN: --builder 'clang' --debugger 'lldb' \
3-
// RUN: --cflags "-O2 -g" -- %s
3+
// RUN: --binary %t --debugger 'lldb' -- %s
4+
// RUN: %clang++ -std=gnu++11 -O0 -g %s -o %t
45
// RUN: %dexter --fail-lt 1.0 -w \
5-
// RUN: --builder 'clang' --debugger 'lldb' \
6-
// RUN: --cflags "-O0 -g" -- %s
6+
// RUN: --binary %t --debugger 'lldb' -- %s
77

88
// REQUIRES: lldb, D136396
99
// UNSUPPORTED: system-windows

cross-project-tests/debuginfo-tests/dexter-tests/optnone-struct-and-methods.cpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1+
// RUN: %clang++ -std=gnu++11 -O2 -g %s -o %t
12
// RUN: %dexter --fail-lt 1.0 -w \
2-
// RUN: --builder 'clang' --debugger 'lldb' \
3-
// RUN: --cflags "-g -O2" -v -- %s
3+
// RUN: --binary %t --debugger 'lldb' -v -- %s
4+
// RUN: %clang++ -std=gnu++11 -O0 -g %s -o %t
45
// RUN: %dexter --fail-lt 1.0 -w \
5-
// RUN: --builder 'clang' --debugger 'lldb' \
6-
// RUN: --cflags "-g -O0" -- %s
6+
// RUN: --binary %t --debugger 'lldb' -- %s
77

88
// REQUIRES: lldb
99
// UNSUPPORTED: system-windows

cross-project-tests/debuginfo-tests/dexter-tests/optnone-vectors-and-functions.cpp

+5-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1+
// RUN: %clang++ -std=gnu++11 -O2 -g %s -o %t
12
// RUN: %dexter --fail-lt 1.0 -w \
2-
// RUN: --builder 'clang' --debugger 'lldb' \
3-
// RUN: --cflags "-g -O2" -v -- %s
3+
// RUN: --binary %t --debugger 'lldb' -v -- %s
4+
// RUN: %clang++ -std=gnu++11 -O0 -g %s -o %t
45
// RUN: %dexter --fail-lt 1.0 -w \
5-
// RUN: --builder 'clang' --debugger 'lldb' \
6-
// RUN: --cflags "-g -O0" -- %s
6+
// RUN: --binary %t --debugger 'lldb' -- %s
77

88
// REQUIRES: lldb
99
// UNSUPPORTED: system-windows
@@ -77,12 +77,11 @@ T test2(T x, T y) {
7777
// DexExpectWatchValue('tmp[1]', 8, on_line=ref('break_2'))
7878
// DexExpectWatchValue('tmp[2]', 10, on_line=ref('break_2'))
7979
// DexExpectWatchValue('tmp[3]', 12, on_line=ref('break_2'))
80-
// DexLimitSteps('i', 3, on_line=ref('break_3'))
80+
// DexLimitSteps('i', 3, from_line=ref('break_3'), to_line=ref('break_5'))
8181
// DexExpectWatchValue('tmp[0]', 63, on_line=ref('break_3'))
8282
// DexExpectWatchValue('tmp[1]', 94, on_line=ref('break_3'))
8383
// DexExpectWatchValue('tmp[2]', 95, on_line=ref('break_3'))
8484
// DexExpectWatchValue('tmp[3]', 120, on_line=ref('break_3'))
85-
// DexLimitSteps('i', 3, on_line=ref('break_5'))
8685
// DexExpectWatchValue('tmp[0]', 15, on_line=ref('break_5'))
8786

8887
template<typename T>

cross-project-tests/debuginfo-tests/dexter-tests/realigned-frame.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// REQUIRES: system-windows
22
//
3-
// RUN: %dexter --fail-lt 1.0 -w --builder 'clang-cl_vs2015' \
4-
// RUN: --debugger 'dbgeng' --cflags '/Z7 /Zi' --ldflags '/Z7 /Zi' -- %s
3+
// RUN: %clang_cl /Z7 /Zi %s -o %t
4+
// RUN: %dexter --fail-lt 1.0 -w --binary %t --debugger 'dbgeng' -- %s
55

66
// From https://llvm.org/pr38857, where we had issues with stack realignment.
77

cross-project-tests/debuginfo-tests/dexter-tests/stack-var.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// REQUIRES: lldb
22
// UNSUPPORTED: system-windows
33
//
4-
// RUN: %dexter --fail-lt 1.0 -w \
5-
// RUN: --builder clang-c --debugger 'lldb' --cflags "-O -glldb" -- %s
4+
// RUN: %clang -std=gnu11 -O -glldb %s -o %t
5+
// RUN: %dexter --fail-lt 1.0 -w --binary %t --debugger 'lldb' -- %s
66

77
void __attribute__((noinline, optnone)) bar(int *test) {}
88
int main() {

cross-project-tests/debuginfo-tests/dexter-tests/vla.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
// REQUIRES: lldb
33
// UNSUPPORTED: system-windows
44
//
5-
// RUN: %dexter --fail-lt 1.0 -w \
6-
// RUN: --builder clang-c --debugger 'lldb' --cflags "-O0 -glldb" -- %s
5+
// RUN: %clang -std=gnu11 -O0 -glldb %s -o %t
6+
// RUN: %dexter --fail-lt 1.0 -w --binary %t --debugger 'lldb' -- %s
77

88
void init_vla(int size) {
99
int i;

0 commit comments

Comments
 (0)