The issue with these test failures is that the dSYM was not being found by lldb, which is why setting breakpoints was failing and lldb quit without performing any steps. This change copies the dSYM to the same temp directory that the executable is copied to.
38 lines
502 B
C++
38 lines
502 B
C++
// REQUIRES: lldb
|
|
// UNSUPPORTED: system-windows
|
|
//
|
|
// RUN: %clang -std=gnu++11 -O0 -glldb %s -o %t
|
|
// RUN: %dexter --fail-lt 1.0 -w \
|
|
// RUN: --binary %t --debugger 'lldb' -- %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': ref('ctor_start')
|
|
},
|
|
'watches': {
|
|
'*this': {'is_irretrievable': False}
|
|
}
|
|
}
|
|
]
|
|
})
|
|
*/
|
|
|