]> granicus.if.org Git - llvm/commitdiff
Fix build break from r294633.
authorAdrian McCarthy <amccarth@google.com>
Thu, 9 Feb 2017 22:49:35 +0000 (22:49 +0000)
committerAdrian McCarthy <amccarth@google.com>
Thu, 9 Feb 2017 22:49:35 +0000 (22:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@294642 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/DebugInfo/PDB/Native/NativeRawSymbol.h
lib/DebugInfo/PDB/Native/NativeRawSymbol.cpp

index e8961c857853fb977a68fc70c81e6e4beddad6e3..a951ab9ff72b86740d9646145a18e4ffb2772ce3 100644 (file)
@@ -196,9 +196,6 @@ public:
   bool isVolatileType() const override;
   bool wasInlined() const override;
   std::string getUnused() const override;
-
-private:
-  const NativeSession &Session;
 };
 
 }
index 0f28a5aec7bc70573d97e66853dc7f19f30ea688..aa74ab0a5a5506f77104c43e7183367413191c80 100644 (file)
 #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 {