1//===-- main.cpp ------------------------------------------------*- C++ -*-===// 2// 3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4// See https://llvm.org/LICENSE.txt for license information. 5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6// 7//===----------------------------------------------------------------------===// 8 9#include <stdio.h> 10%include_SB_APIs% 11 12using namespace lldb; 13int 14main(int argc, char const *argv[]) 15{ 16 SBDebugger::Initialize(); 17 SBDebugger dbg = SBDebugger::Create(); 18 19 printf("Hello SBDebugger %llu\n", dbg.GetID()); // Set breakpoint here. 20 21 SBDebugger::Terminate(); 22 return 0; 23} 24