1 //===-- StoppointCallbackContext.cpp ----------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
12 // Other libraries and framework includes
14 #include "lldb/Breakpoint/StoppointCallbackContext.h"
16 using namespace lldb_private;
18 StoppointCallbackContext::StoppointCallbackContext()
19 : event(nullptr), exe_ctx_ref(), is_synchronous(false) {}
21 StoppointCallbackContext::StoppointCallbackContext(
22 Event *e, const ExecutionContext &exe_ctx, bool synchronously)
23 : event(e), exe_ctx_ref(exe_ctx), is_synchronous(synchronously) {}
25 void StoppointCallbackContext::Clear() {
28 is_synchronous = false;