LLDB mainline
PECallFrameInfo.h
Go to the documentation of this file.
1//===-- PECallFrameInfo.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_SOURCE_PLUGINS_OBJECTFILE_PECOFF_PECALLFRAMEINFO_H
10#define LLDB_SOURCE_PLUGINS_OBJECTFILE_PECOFF_PECALLFRAMEINFO_H
11
14
16
17namespace llvm {
18namespace Win64EH {
19
20struct RuntimeFunction;
21
22}
23} // namespace llvm
24
26public:
27 explicit PECallFrameInfo(ObjectFilePECOFF &object_file,
28 uint32_t exception_dir_rva,
29 uint32_t exception_dir_size);
30
32 lldb_private::AddressRange &range) override;
33
34 bool GetUnwindPlan(const lldb_private::Address &addr,
35 lldb_private::UnwindPlan &unwind_plan) override;
37 lldb_private::UnwindPlan &unwind_plan) override;
38
39private:
40 const llvm::Win64EH::RuntimeFunction *FindRuntimeFunctionIntersectsWithRange(
41 const lldb_private::AddressRange &range) const;
42
45};
46
47#endif // LLDB_SOURCE_PLUGINS_OBJECTFILE_PECOFF_PECALLFRAMEINFO_H
bool GetAddressRange(lldb_private::Address addr, lldb_private::AddressRange &range) override
ObjectFilePECOFF & m_object_file
bool GetUnwindPlan(const lldb_private::Address &addr, lldb_private::UnwindPlan &unwind_plan) override
const llvm::Win64EH::RuntimeFunction * FindRuntimeFunctionIntersectsWithRange(const lldb_private::AddressRange &range) const
lldb_private::DataExtractor m_exception_dir
A section + offset based address range class.
Definition: AddressRange.h:25
A section + offset based address class.
Definition: Address.h:62
An data extractor class.
Definition: DataExtractor.h:48
Definition: Debugger.h:54