Fix build.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236343 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Zachary Turner 2015-05-01 20:33:10 +00:00
parent 7c69a58214
commit 2e8b406d43
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ class PDBContext : public DIContext {
public:
PDBContext(const object::COFFObjectFile &Object,
std::unique_ptr<IPDBSession> PDBSession, bool RelativeAddress);
std::unique_ptr<IPDBSession> PDBSession);
static bool classof(const DIContext *DICtx) {
return DICtx->getKind() == CK_PDB;

View File

@ -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;