2019-11-01 21:09:37 +08:00
|
|
|
// REQUIRES: lldb
|
|
|
|
// UNSUPPORTED: system-windows
|
2019-11-01 00:51:53 +08:00
|
|
|
//
|
|
|
|
// 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}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
})
|
|
|
|
*/
|
|
|
|
|