mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-23 04:28:30 +00:00
Fix build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236343 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7c69a58214
commit
2e8b406d43
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user