diff options
Diffstat (limited to 'contrib/llvm/include/llvm/DebugInfo/PDB/DIA/DIASourceFile.h')
-rw-r--r-- | contrib/llvm/include/llvm/DebugInfo/PDB/DIA/DIASourceFile.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/contrib/llvm/include/llvm/DebugInfo/PDB/DIA/DIASourceFile.h b/contrib/llvm/include/llvm/DebugInfo/PDB/DIA/DIASourceFile.h index c424e27..1088ea5 100644 --- a/contrib/llvm/include/llvm/DebugInfo/PDB/DIA/DIASourceFile.h +++ b/contrib/llvm/include/llvm/DebugInfo/PDB/DIA/DIASourceFile.h @@ -14,6 +14,7 @@ #include "llvm/DebugInfo/PDB/IPDBSourceFile.h" namespace llvm { +namespace pdb { class DIASession; class DIASourceFile : public IPDBSourceFile { @@ -25,12 +26,16 @@ public: uint32_t getUniqueId() const override; std::string getChecksum() const override; PDB_Checksum getChecksumType() const override; - std::unique_ptr<IPDBEnumSymbols> getCompilands() const override; + std::unique_ptr<IPDBEnumChildren<PDBSymbolCompiland>> + getCompilands() const override; + + CComPtr<IDiaSourceFile> getDiaFile() const { return SourceFile; } private: const DIASession &Session; CComPtr<IDiaSourceFile> SourceFile; }; } +} #endif |