From: Zachary Turner Date: Fri, 1 May 2015 20:33:10 +0000 (+0000) Subject: Fix build. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=2e8b406d4348b000c7b68b6d6940f3fe1fe4b31f;p=oota-llvm.git Fix build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236343 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/DebugInfo/PDB/PDBContext.h b/include/llvm/DebugInfo/PDB/PDBContext.h index 2454a7c1921..88a11c13caa 100644 --- a/include/llvm/DebugInfo/PDB/PDBContext.h +++ b/include/llvm/DebugInfo/PDB/PDBContext.h @@ -32,7 +32,7 @@ class PDBContext : public DIContext { public: PDBContext(const object::COFFObjectFile &Object, - std::unique_ptr PDBSession, bool RelativeAddress); + std::unique_ptr PDBSession); static bool classof(const DIContext *DICtx) { return DICtx->getKind() == CK_PDB; diff --git a/lib/DebugInfo/PDB/PDBContext.cpp b/lib/DebugInfo/PDB/PDBContext.cpp index a260b0ee254..328bcc65ea9 100644 --- a/lib/DebugInfo/PDB/PDBContext.cpp +++ b/lib/DebugInfo/PDB/PDBContext.cpp @@ -41,7 +41,7 @@ void PDBContext::dump(raw_ostream &OS, DIDumpType DumpType) {} DILineInfo PDBContext::getLineInfoForAddress(uint64_t Address, DILineInfoSpecifier Specifier) { - auto Symbol = Session->findSymbolByAddress(Address); + auto Symbol = Session->findSymbolByAddress(Address, PDB_SymType::None); uint32_t Length = 1; DILineInfo Result;