File indexing completed on 2026-05-10 08:43:44
0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef LLVM_DEBUGINFO_PDB_DIA_DIAINJECTEDSOURCE_H
0010 #define LLVM_DEBUGINFO_PDB_DIA_DIAINJECTEDSOURCE_H
0011
0012 #include "DIASupport.h"
0013 #include "llvm/DebugInfo/PDB/IPDBInjectedSource.h"
0014
0015 namespace llvm {
0016 namespace pdb {
0017 class DIASession;
0018
0019 class DIAInjectedSource : public IPDBInjectedSource {
0020 public:
0021 explicit DIAInjectedSource(CComPtr<IDiaInjectedSource> DiaSourceFile);
0022
0023 uint32_t getCrc32() const override;
0024 uint64_t getCodeByteSize() const override;
0025 std::string getFileName() const override;
0026 std::string getObjectFileName() const override;
0027 std::string getVirtualFileName() const override;
0028 uint32_t getCompression() const override;
0029 std::string getCode() const override;
0030
0031 private:
0032 CComPtr<IDiaInjectedSource> SourceFile;
0033 };
0034 }
0035 }
0036
0037 #endif