diff options
| author | Adrian McCarthy <amccarth@google.com> | 2017-02-09 22:49:35 +0000 |
|---|---|---|
| committer | Adrian McCarthy <amccarth@google.com> | 2017-02-09 22:49:35 +0000 |
| commit | d6e091dcc5f9cc1e3de946fc7870af18818311c7 (patch) | |
| tree | f7f41cb40ac14a394048caac156750a714d1127b | |
| parent | 19a311a483ba7c4f7f856dda3c531c945139f767 (diff) | |
| download | bcm5719-llvm-d6e091dcc5f9cc1e3de946fc7870af18818311c7.tar.gz bcm5719-llvm-d6e091dcc5f9cc1e3de946fc7870af18818311c7.zip | |
Fix build break from r294633.
llvm-svn: 294642
| -rw-r--r-- | llvm/include/llvm/DebugInfo/PDB/Native/NativeRawSymbol.h | 3 | ||||
| -rw-r--r-- | llvm/lib/DebugInfo/PDB/Native/NativeRawSymbol.cpp | 6 |
2 files changed, 3 insertions, 6 deletions
diff --git a/llvm/include/llvm/DebugInfo/PDB/Native/NativeRawSymbol.h b/llvm/include/llvm/DebugInfo/PDB/Native/NativeRawSymbol.h index e8961c85785..a951ab9ff72 100644 --- a/llvm/include/llvm/DebugInfo/PDB/Native/NativeRawSymbol.h +++ b/llvm/include/llvm/DebugInfo/PDB/Native/NativeRawSymbol.h @@ -196,9 +196,6 @@ public: bool isVolatileType() const override; bool wasInlined() const override; std::string getUnused() const override; - -private: - const NativeSession &Session; }; } diff --git a/llvm/lib/DebugInfo/PDB/Native/NativeRawSymbol.cpp b/llvm/lib/DebugInfo/PDB/Native/NativeRawSymbol.cpp index 0f28a5aec7b..aa74ab0a5a5 100644 --- a/llvm/lib/DebugInfo/PDB/Native/NativeRawSymbol.cpp +++ b/llvm/lib/DebugInfo/PDB/Native/NativeRawSymbol.cpp @@ -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 { |

