Files
clang-p2996/cross-project-tests/debuginfo-tests/dexter-tests/aggregate-indirect-arg.cpp
Shubham Sandeep Rastogi 37a20cc68f XFAIL dexter tests that broke greendragon.
The patch in https://reviews.llvm.org/D151465 broke greendragon, because
it is hardcoding the use of libstdc++ which is not available on darwin.

XFAILing these tests till they can be fixed.
2023-09-08 15:51:10 -07:00

46 lines
677 B
C++

// REQUIRES: lldb
// UNSUPPORTED: system-windows
// XFAIL: system-darwin
//
// RUN: %clang -std=gnu++11 -O0 -g -lstdc++ %s -o %t
// RUN: %dexter --fail-lt 1.0 -w \
// RUN: --binary %t --debugger 'lldb' -- %s
// Radar 8945514
class SVal {
public:
~SVal() {}
const void* Data;
unsigned Kind;
};
void bar(SVal &v) {}
class A {
public:
void foo(SVal v) { bar(v); } // DexLabel('foo')
};
int main() {
SVal v;
v.Data = 0;
v.Kind = 2142;
A a;
a.foo(v);
return 0;
}
/*
DexExpectProgramState({
'frames': [
{
'location': { 'lineno': ref('foo') },
'watches': {
'v.Data == 0': 'true',
'v.Kind': '2142'
}
}
]
})
*/