diff options
| author | Zachary Turner <zturner@google.com> | 2015-02-08 20:58:09 +0000 |
|---|---|---|
| committer | Zachary Turner <zturner@google.com> | 2015-02-08 20:58:09 +0000 |
| commit | bae16b3f5355e50bb4a0d5265f5304142a6afc0b (patch) | |
| tree | d84c7496b24b21ae5cba39e1af6adbdcbf88af07 /llvm/lib/DebugInfo/PDB/PDBSymbolCompiland.cpp | |
| parent | 9be09a36172701e9e906cced96b022fd41f52c2e (diff) | |
| download | bcm5719-llvm-bae16b3f5355e50bb4a0d5265f5304142a6afc0b.tar.gz bcm5719-llvm-bae16b3f5355e50bb4a0d5265f5304142a6afc0b.zip | |
DebugInfoPDB: Make the symbol base case hold an IPDBSession ref.
Dumping a symbol often requires access to data that isn't inside
the symbol hierarchy, but which is only accessible through the
top-level session. This patch is a pure interface change to give
symbols a reference to the session.
llvm-svn: 228542
Diffstat (limited to 'llvm/lib/DebugInfo/PDB/PDBSymbolCompiland.cpp')
| -rw-r--r-- | llvm/lib/DebugInfo/PDB/PDBSymbolCompiland.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/DebugInfo/PDB/PDBSymbolCompiland.cpp b/llvm/lib/DebugInfo/PDB/PDBSymbolCompiland.cpp index d3492418a13..4d2e413365b 100644 --- a/llvm/lib/DebugInfo/PDB/PDBSymbolCompiland.cpp +++ b/llvm/lib/DebugInfo/PDB/PDBSymbolCompiland.cpp @@ -17,8 +17,9 @@ using namespace llvm; -PDBSymbolCompiland::PDBSymbolCompiland(std::unique_ptr<IPDBRawSymbol> Symbol) - : PDBSymbol(std::move(Symbol)) {} +PDBSymbolCompiland::PDBSymbolCompiland(IPDBSession &PDBSession, + std::unique_ptr<IPDBRawSymbol> Symbol) + : PDBSymbol(PDBSession, std::move(Symbol)) {} void PDBSymbolCompiland::dump(llvm::raw_ostream &OS) const { } |

