llvm-project/lldb/test/API/functionalities/thread/backtrace_limit/main.cpp

14 lines
183 B
C++

int bottom () {
return 1; // Set a breakpoint here
}
int foo(int in) {
if (in > 0)
return foo(--in) + 5;
else
return bottom();
}
int main()
{
return foo(500);
}