1 //===- DIAFrameData.h - DIA Impl. of IPDBFrameData ---------------- 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_DIA_DIAFRAMEDATA_H
11 #define LLVM_DEBUGINFO_PDB_DIA_DIAFRAMEDATA_H
12 
13 #include "DIASupport.h"
14 #include "llvm/DebugInfo/PDB/IPDBFrameData.h"
15 
16 namespace llvm {
17 namespace pdb {
18 
19 class DIASession;
20 
21 class DIAFrameData : public IPDBFrameData {
22 public:
23   explicit DIAFrameData(CComPtr<IDiaFrameData> DiaFrameData);
24 
25   uint32_t getAddressOffset() const override;
26   uint32_t getAddressSection() const override;
27   uint32_t getLengthBlock() const override;
28   std::string getProgram() const override;
29   uint32_t getRelativeVirtualAddress() const override;
30   uint64_t getVirtualAddress() const override;
31 
32 private:
33   CComPtr<IDiaFrameData> FrameData;
34 };
35 
36 } // namespace pdb
37 } // namespace llvm
38 
39 #endif
40