1 //===- DIAInjectedSource.h - DIA impl for IPDBInjectedSource ----*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef LLVM_DEBUGINFO_PDB_DIA_DIAINJECTEDSOURCE_H
11 #define LLVM_DEBUGINFO_PDB_DIA_DIAINJECTEDSOURCE_H
13 #include "DIASupport.h"
14 #include "llvm/DebugInfo/PDB/IPDBInjectedSource.h"
20 class DIAInjectedSource : public IPDBInjectedSource {
22 explicit DIAInjectedSource(CComPtr<IDiaInjectedSource> DiaSourceFile);
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;
33 CComPtr<IDiaInjectedSource> SourceFile;
38 #endif // LLVM_DEBUGINFO_PDB_DIA_DIAINJECTEDSOURCE_H