1// This simple program is to test the lldb Python API SBDebugger.
2
3int func(int val) {
4 return val - 1;
5}
6
7int main (int argc, char const *argv[]) {
8 return func(val: argc);
9}
10

Provided by KDAB

Privacy Policy
Update your C++ knowledge – Modern C++11/14/17 Training
Find out more

source code of lldb/test/API/python_api/debugger/main.cpp