Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lldb / source / Breakpoint / StoppointCallbackContext.cpp
blob926c0afe8fc15cd36951c06e613d665a5f40bf95
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-exception
6 //
7 //===----------------------------------------------------------------------===//
9 #include "lldb/Breakpoint/StoppointCallbackContext.h"
11 using namespace lldb_private;
13 StoppointCallbackContext::StoppointCallbackContext() = default;
15 StoppointCallbackContext::StoppointCallbackContext(
16 Event *e, const ExecutionContext &exe_ctx, bool synchronously)
17 : event(e), exe_ctx_ref(exe_ctx), is_synchronous(synchronously) {}
19 void StoppointCallbackContext::Clear() {
20 event = nullptr;
21 exe_ctx_ref.Clear();
22 is_synchronous = false;