LLVM  8.0.1
DIAInjectedSource.h
Go to the documentation of this file.
1 //===- DIAInjectedSource.h - DIA impl for IPDBInjectedSource ----*- 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_DIAINJECTEDSOURCE_H
11 #define LLVM_DEBUGINFO_PDB_DIA_DIAINJECTEDSOURCE_H
12 
13 #include "DIASupport.h"
15 
16 namespace llvm {
17 namespace pdb {
18 class DIASession;
19 
21 public:
22  explicit DIAInjectedSource(CComPtr<IDiaInjectedSource> DiaSourceFile);
23 
24  uint32_t getCrc32() const override;
25  uint64_t getCodeByteSize() const override;
26  std::string getFileName() const override;
27  std::string getObjectFileName() const override;
28  std::string getVirtualFileName() const override;
29  PDB_SourceCompression getCompression() const override;
30  std::string getCode() const override;
31 
32 private:
33  CComPtr<IDiaInjectedSource> SourceFile;
34 };
35 } // namespace pdb
36 } // namespace llvm
37 
38 #endif // LLVM_DEBUGINFO_PDB_DIA_DIAINJECTEDSOURCE_H
This class represents lattice values for constants.
Definition: AllocatorList.h:24
std::string getObjectFileName() const override
std::string getFileName() const override
IPDBInjectedSource defines an interface used to represent source files which were injected directly i...
std::string getCode() const override
uint64_t getCodeByteSize() const override
uint32_t getCrc32() const override
PDB_SourceCompression
Definition: PDBTypes.h:149
DIAInjectedSource(CComPtr< IDiaInjectedSource > DiaSourceFile)
PDB_SourceCompression getCompression() const override
std::string getVirtualFileName() const override