llvm-capstone/debuginfo-tests/dexter-tests/ctor.cpp
Jeremy Morse 2665f3e436 Unmask dexter debuginfo tests on Darwin
These tests almost certainly work on Darwin anyway, I just wanted to
keep things in a fixed, working configuration, while pushing Dexter
up.

I've left Windows unsupported as the dexter command line will need further
adjustment to run dbgeng. This can be abstracted through the %dexter
substitution, but is a task for another time.
2019-11-01 13:12:47 +00:00

37 lines
477 B
C++

// REQUIRES: lldb
// UNSUPPORTED: system-windows
//
// RUN: %dexter --fail-lt 1.0 -w \
// RUN: --builder 'clang' --debugger 'lldb' --cflags "-O0 -glldb" -- %s
class A {
public:
A() : zero(0), data(42) { // DexLabel('ctor_start')
}
private:
int zero;
int data;
};
int main() {
A a;
return 0;
}
/*
DexExpectProgramState({
'frames': [
{
'location': {
'lineno': 'ctor_start'
},
'watches': {
'*this': {'is_irretrievable': False}
}
}
]
})
*/