1 //===-- main.cpp ------------------------------------------------*- C++ -*-===// 2 // 3 // The LLVM Compiler Infrastructure 4 // 5 // This file is distributed under the University of Illinois Open Source 6 // License. See LICENSE.TXT for details. 7 // 8 //===----------------------------------------------------------------------===// 9 10 #include <stdio.h> 11 %include_SB_APIs% 12 13 using namespace lldb; 14 int 15 main(int argc, char const *argv[]) 16 { 17 SBDebugger::Initialize(); 18 SBDebugger dbg = SBDebugger::Create(); 19 20 printf("Hello SBDebugger %llu\n", dbg.GetID()); // Set breakpoint here. 21 22 SBDebugger::Terminate(); 23 return 0; 24 } 25