[llvm] r294642 - Fix build break from r294633.
Adrian McCarthy via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 9 14:49:36 PST 2017
Author: amccarth
Date: Thu Feb 9 16:49:35 2017
New Revision: 294642
URL: http://llvm.org/viewvc/llvm-project?rev=294642&view=rev
Log:
Fix build break from r294633.
Modified:
llvm/trunk/include/llvm/DebugInfo/PDB/Native/NativeRawSymbol.h
llvm/trunk/lib/DebugInfo/PDB/Native/NativeRawSymbol.cpp
Modified: llvm/trunk/include/llvm/DebugInfo/PDB/Native/NativeRawSymbol.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/DebugInfo/PDB/Native/NativeRawSymbol.h?rev=294642&r1=294641&r2=294642&view=diff
==============================================================================
--- llvm/trunk/include/llvm/DebugInfo/PDB/Native/NativeRawSymbol.h (original)
+++ llvm/trunk/include/llvm/DebugInfo/PDB/Native/NativeRawSymbol.h Thu Feb 9 16:49:35 2017
@@ -196,9 +196,6 @@ public:
bool isVolatileType() const override;
bool wasInlined() const override;
std::string getUnused() const override;
-
-private:
- const NativeSession &Session;
};
}
Modified: llvm/trunk/lib/DebugInfo/PDB/Native/NativeRawSymbol.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/DebugInfo/PDB/Native/NativeRawSymbol.cpp?rev=294642&r1=294641&r2=294642&view=diff
==============================================================================
--- llvm/trunk/lib/DebugInfo/PDB/Native/NativeRawSymbol.cpp (original)
+++ llvm/trunk/lib/DebugInfo/PDB/Native/NativeRawSymbol.cpp Thu Feb 9 16:49:35 2017
@@ -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()
}
PDB_UniqueId NativeRawSymbol::getGuid() const {
- return {0, 0, 0, 0};
+ return {0};
}
int32_t NativeRawSymbol::getOffset() const {
More information about the llvm-commits
mailing list