180814287SRaphael Isemann //===-- StoppointCallbackContext.cpp --------------------------------------===//
230fdc8d8SChris Lattner //
32946cd70SChandler Carruth // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
42946cd70SChandler Carruth // See https://llvm.org/LICENSE.txt for license information.
52946cd70SChandler Carruth // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
630fdc8d8SChris Lattner //
730fdc8d8SChris Lattner //===----------------------------------------------------------------------===//
830fdc8d8SChris Lattner 
916fd7511SEugene Zelenko #include "lldb/Breakpoint/StoppointCallbackContext.h"
1030fdc8d8SChris Lattner 
1130fdc8d8SChris Lattner using namespace lldb_private;
1230fdc8d8SChris Lattner 
13*ee4b6cf5SKazu Hirata StoppointCallbackContext::StoppointCallbackContext() = default;
1430fdc8d8SChris Lattner 
StoppointCallbackContext(Event * e,const ExecutionContext & exe_ctx,bool synchronously)15b9c1b51eSKate Stone StoppointCallbackContext::StoppointCallbackContext(
16b9c1b51eSKate Stone     Event *e, const ExecutionContext &exe_ctx, bool synchronously)
17b9c1b51eSKate Stone     : event(e), exe_ctx_ref(exe_ctx), is_synchronous(synchronously) {}
1830fdc8d8SChris Lattner 
Clear()19b9c1b51eSKate Stone void StoppointCallbackContext::Clear() {
2016fd7511SEugene Zelenko   event = nullptr;
211ac04c30SGreg Clayton   exe_ctx_ref.Clear();
2230fdc8d8SChris Lattner   is_synchronous = false;
2330fdc8d8SChris Lattner }
24