]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - include/llvm/DebugInfo/PDB/IPDBFrameData.h
Vendor import of llvm trunk r351319 (just before the release_80 branch
[FreeBSD/FreeBSD.git] / include / llvm / DebugInfo / PDB / IPDBFrameData.h
1 //===- IPDBFrameData.h - base interface for frame data ----------*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9
10 #ifndef LLVM_DEBUGINFO_PDB_IPDBFRAMEDATA_H
11 #define LLVM_DEBUGINFO_PDB_IPDBFRAMEDATA_H
12
13 #include <cstdint>
14 #include <string>
15
16 namespace llvm {
17 namespace pdb {
18
19 /// IPDBFrameData defines an interface used to represent a frame data of some
20 /// code block.
21 class IPDBFrameData {
22 public:
23   virtual ~IPDBFrameData();
24
25   virtual uint32_t getAddressOffset() const = 0;
26   virtual uint32_t getAddressSection() const = 0;
27   virtual uint32_t getLengthBlock() const = 0;
28   virtual std::string getProgram() const = 0;
29   virtual uint32_t getRelativeVirtualAddress() const = 0;
30   virtual uint64_t getVirtualAddress() const = 0;
31 };
32
33 } // namespace pdb
34 } // namespace llvm
35
36 #endif