LLDB  mainline
CallFrameInfo.h
Go to the documentation of this file.
1 //===-- CallFrameInfo.h -----------------------------------------*- 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 #ifndef LLDB_SYMBOL_CALLFRAMEINFO_H
10 #define LLDB_SYMBOL_CALLFRAMEINFO_H
11 
12 #include "lldb/Core/Address.h"
13 
14 namespace lldb_private {
15 
17 public:
18  virtual ~CallFrameInfo() = default;
19 
20  virtual bool GetAddressRange(Address addr, AddressRange &range) = 0;
21 
22  virtual bool GetUnwindPlan(const Address &addr, UnwindPlan &unwind_plan) = 0;
23  virtual bool GetUnwindPlan(const AddressRange &range, UnwindPlan &unwind_plan) = 0;
24 };
25 
26 } // namespace lldb_private
27 
28 #endif // LLDB_SYMBOL_CALLFRAMEINFO_H
lldb_private::CallFrameInfo::GetAddressRange
virtual bool GetAddressRange(Address addr, AddressRange &range)=0
lldb_private::CallFrameInfo::GetUnwindPlan
virtual bool GetUnwindPlan(const Address &addr, UnwindPlan &unwind_plan)=0
lldb_private::AddressRange
Definition: AddressRange.h:25
lldb_private::CallFrameInfo::~CallFrameInfo
virtual ~CallFrameInfo()=default
lldb_private::CallFrameInfo
Definition: CallFrameInfo.h:16
Address.h
lldb_private::Address
Definition: Address.h:59
lldb_private
A class that represents a running process on the host machine.
Definition: SBCommandInterpreterRunOptions.h:16
lldb_private::UnwindPlan
Definition: UnwindPlan.h:53