summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2016-04-26 19:24:10 +0000
committerZachary Turner <zturner@google.com>2016-04-26 19:24:10 +0000
commitff788aa0ee68097da3a24dbc5597c16932297c56 (patch)
tree2b621b78aa207387704fac37aa900e50e7675406
parent3578d334fb67256176100bbf73af4d86e4006e10 (diff)
downloadbcm5719-llvm-ff788aa0ee68097da3a24dbc5597c16932297c56.tar.gz
bcm5719-llvm-ff788aa0ee68097da3a24dbc5597c16932297c56.zip
Fix warnings and -Werror build on clang.
llvm-svn: 267589
-rw-r--r--llvm/include/llvm/DebugInfo/PDB/Raw/PDBDbiStream.h2
-rw-r--r--llvm/lib/DebugInfo/PDB/Raw/PDBDbiStream.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/DebugInfo/PDB/Raw/PDBDbiStream.h b/llvm/include/llvm/DebugInfo/PDB/Raw/PDBDbiStream.h
index 7cfda03ebf2..f9d4f30353d 100644
--- a/llvm/include/llvm/DebugInfo/PDB/Raw/PDBDbiStream.h
+++ b/llvm/include/llvm/DebugInfo/PDB/Raw/PDBDbiStream.h
@@ -43,8 +43,8 @@ public:
PDB_Machine getMachineType() const;
private:
- PDBStream Stream;
PDBFile &Pdb;
+ PDBStream Stream;
std::unique_ptr<HeaderInfo> Header;
};
}
diff --git a/llvm/lib/DebugInfo/PDB/Raw/PDBDbiStream.cpp b/llvm/lib/DebugInfo/PDB/Raw/PDBDbiStream.cpp
index 15adae666e3..389199c4a40 100644
--- a/llvm/lib/DebugInfo/PDB/Raw/PDBDbiStream.cpp
+++ b/llvm/lib/DebugInfo/PDB/Raw/PDBDbiStream.cpp
@@ -47,7 +47,7 @@ const uint16_t BuildNewFormatShift = 15;
}
struct PDBDbiStream::HeaderInfo {
- ulittle32_t VersionSignature;
+ little32_t VersionSignature;
ulittle32_t VersionHeader;
ulittle32_t Age; // Should match PDBInfoStream.
ulittle16_t GSSyms;
OpenPOWER on IntegriCloud