diff options
author | Zachary Turner <zturner@google.com> | 2018-03-19 20:41:59 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2018-03-19 20:41:59 +0000 |
commit | a21558897bd2d068e997cd6dc3d45af3f280cbb8 (patch) | |
tree | b147fa697728704af4f3da547ba6255818a99ce6 /llvm/lib/DebugInfo/PDB/DIA | |
parent | bd5ff79dd0b007489d4776ea0cb4c8cb4bed3fcd (diff) | |
download | bcm5719-llvm-a21558897bd2d068e997cd6dc3d45af3f280cbb8.tar.gz bcm5719-llvm-a21558897bd2d068e997cd6dc3d45af3f280cbb8.zip |
Revert "Support embedding natvis files in PDBs."
This is causing a test failure on a certain bot, so I'm removing
this temporarily until we can figure out the source of the error.
llvm-svn: 327903
Diffstat (limited to 'llvm/lib/DebugInfo/PDB/DIA')
-rw-r--r-- | llvm/lib/DebugInfo/PDB/DIA/DIAEnumInjectedSources.cpp | 6 | ||||
-rw-r--r-- | llvm/lib/DebugInfo/PDB/DIA/DIAInjectedSource.cpp | 5 |
2 files changed, 7 insertions, 4 deletions
diff --git a/llvm/lib/DebugInfo/PDB/DIA/DIAEnumInjectedSources.cpp b/llvm/lib/DebugInfo/PDB/DIA/DIAEnumInjectedSources.cpp index d7c908e0459..873f4a0a8db 100644 --- a/llvm/lib/DebugInfo/PDB/DIA/DIAEnumInjectedSources.cpp +++ b/llvm/lib/DebugInfo/PDB/DIA/DIAEnumInjectedSources.cpp @@ -30,7 +30,8 @@ DIAEnumInjectedSources::getChildAtIndex(uint32_t Index) const { if (S_OK != Enumerator->Item(Index, &Item)) return nullptr; - return std::unique_ptr<IPDBInjectedSource>(new DIAInjectedSource(Item)); + return std::unique_ptr<IPDBInjectedSource>( + new DIAInjectedSource(Session, Item)); } std::unique_ptr<IPDBInjectedSource> DIAEnumInjectedSources::getNext() { @@ -39,7 +40,8 @@ std::unique_ptr<IPDBInjectedSource> DIAEnumInjectedSources::getNext() { if (S_OK != Enumerator->Next(1, &Item, &NumFetched)) return nullptr; - return std::unique_ptr<IPDBInjectedSource>(new DIAInjectedSource(Item)); + return std::unique_ptr<IPDBInjectedSource>( + new DIAInjectedSource(Session, Item)); } void DIAEnumInjectedSources::reset() { Enumerator->Reset(); } diff --git a/llvm/lib/DebugInfo/PDB/DIA/DIAInjectedSource.cpp b/llvm/lib/DebugInfo/PDB/DIA/DIAInjectedSource.cpp index 1d642f221d7..fbd169524b6 100644 --- a/llvm/lib/DebugInfo/PDB/DIA/DIAInjectedSource.cpp +++ b/llvm/lib/DebugInfo/PDB/DIA/DIAInjectedSource.cpp @@ -16,8 +16,9 @@ using namespace llvm; using namespace llvm::pdb; -DIAInjectedSource::DIAInjectedSource(CComPtr<IDiaInjectedSource> DiaSourceFile) - : SourceFile(DiaSourceFile) {} +DIAInjectedSource::DIAInjectedSource(const DIASession &Session, + CComPtr<IDiaInjectedSource> DiaSourceFile) + : Session(Session), SourceFile(DiaSourceFile) {} uint32_t DIAInjectedSource::getCrc32() const { DWORD Crc; |