Skip to content

Commit

Permalink
Fix build break from r294633.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@294642 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
amccarth-google committed Feb 9, 2017
1 parent 161421e commit a787c7d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
3 changes: 0 additions & 3 deletions include/llvm/DebugInfo/PDB/Native/NativeRawSymbol.h
Original file line number Diff line number Diff line change
Expand Up @@ -196,9 +196,6 @@ class NativeRawSymbol : public IPDBRawSymbol {
bool isVolatileType() const override;
bool wasInlined() const override;
std::string getUnused() const override;

private:
const NativeSession &Session;
};

}
Expand Down
6 changes: 3 additions & 3 deletions lib/DebugInfo/PDB/Native/NativeRawSymbol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {}

Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit a787c7d

Please sign in to comment.