2 /// LLDB C API Test Driver
10 #include "lldb-headers.h"
17 void test(SBDebugger &dbg, std::vector<string> args);
19 int main(int argc, char** argv) {
22 SBDebugger::Initialize();
23 SBDebugger dbg = SBDebugger::Create();
27 throw Exception("invalid debugger");
28 vector<string> args(argv + 1, argv + argc);
31 } catch (Exception &e) {
32 cout << "ERROR: " << e.what() << endl;
36 SBDebugger::Destroy(dbg);