24 lines · cpp
1//===-- StoppointCallbackContext.cpp --------------------------------------===//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-exception6//7//===----------------------------------------------------------------------===//8 9#include "lldb/Breakpoint/StoppointCallbackContext.h"10 11using namespace lldb_private;12 13StoppointCallbackContext::StoppointCallbackContext() = default;14 15StoppointCallbackContext::StoppointCallbackContext(16 Event *e, const ExecutionContext &exe_ctx, bool synchronously)17 : event(e), exe_ctx_ref(exe_ctx), is_synchronous(synchronously) {}18 19void StoppointCallbackContext::Clear() {20 event = nullptr;21 exe_ctx_ref.Clear();22 is_synchronous = false;23}24