Fix build break from r294633.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@294642 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Adrian McCarthy 2017-02-09 22:49:35 +00:00
parent 161421e702
commit a787c7d2ac
2 changed files with 3 additions and 6 deletions

View File

@ -196,9 +196,6 @@ public:
bool isVolatileType() const override;
bool wasInlined() const override;
std::string getUnused() const override;
private:
const NativeSession &Session;
};
}

View File

@ -12,14 +12,14 @@
#include "llvm/ADT/STLExtras.h"
#include "llvm/DebugInfo/PDB/IPDBEnumChildren.h"
#include "llvm/DebugInfo/PDB/PDBExtras.h"
#include "llvm/DebugInfo/PDB/Native/NativeSession.h"
#include "llvm/Support/ConvertUTF.h"
#include "llvm/Support/raw_ostream.h"
using namespace llvm;
using namespace llvm::pdb;
NativeRawSymbol::NativeRawSymbol(const NativeSession &PDBSession)
: Session(PDBSession) {}
NativeRawSymbol::NativeRawSymbol(const NativeSession &PDBSession) {}
void NativeRawSymbol::dump(raw_ostream &OS, int Indent) const {}
@ -328,7 +328,7 @@ PDB_SymType NativeRawSymbol::getSymTag() const {
}
PDB_UniqueId NativeRawSymbol::getGuid() const {
return {0, 0, 0, 0};
return {0};
}
int32_t NativeRawSymbol::getOffset() const {