main.cpp.template revision 62d527ebcc7f55c8ad10e9d692cf69a881fb933a
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
13using namespace lldb;
14int
15main(int argc, char const *argv[])
16{
17    SBDebugger::Initialize();
18    SBDebugger dbg = SBDebugger::Create();
19
20    printf("Hello SBDebugger %d\n", dbg.GetID()); // Set breakpoint here.
21
22    SBDebugger::Terminate();
23    return 0;
24}
25