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
14namespace lldb_private {
15
17public:
18 virtual ~CallFrameInfo() = default;
19
20 virtual bool GetAddressRange(Address addr, AddressRange &range) = 0;
21
22 virtual std::unique_ptr<UnwindPlan>
23 GetUnwindPlan(llvm::ArrayRef<AddressRange> ranges, const Address &addr) = 0;
24
25 virtual std::unique_ptr<UnwindPlan> GetUnwindPlan(const Address &addr) = 0;
26};
27
28} // namespace lldb_private
29
30#endif // LLDB_SYMBOL_CALLFRAMEINFO_H
A section + offset based address range class.
A section + offset based address class.
Definition Address.h:62
virtual bool GetAddressRange(Address addr, AddressRange &range)=0
virtual std::unique_ptr< UnwindPlan > GetUnwindPlan(const Address &addr)=0
virtual std::unique_ptr< UnwindPlan > GetUnwindPlan(llvm::ArrayRef< AddressRange > ranges, const Address &addr)=0
virtual ~CallFrameInfo()=default
A class that represents a running process on the host machine.