[llvm] r292538 - Fix a few more build errors.

Zachary Turner via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 19 15:44:15 PST 2017


Author: zturner
Date: Thu Jan 19 17:44:14 2017
New Revision: 292538

URL: http://llvm.org/viewvc/llvm-project?rev=292538&view=rev
Log:
Fix a few more build errors.

Modified:
    llvm/trunk/include/llvm/DebugInfo/PDB/Raw/HashTable.h
    llvm/trunk/lib/DebugInfo/PDB/Raw/HashTable.cpp

Modified: llvm/trunk/include/llvm/DebugInfo/PDB/Raw/HashTable.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/DebugInfo/PDB/Raw/HashTable.h?rev=292538&r1=292537&r2=292538&view=diff
==============================================================================
--- llvm/trunk/include/llvm/DebugInfo/PDB/Raw/HashTable.h (original)
+++ llvm/trunk/include/llvm/DebugInfo/PDB/Raw/HashTable.h Thu Jan 19 17:44:14 2017
@@ -27,6 +27,8 @@
 namespace llvm {
 namespace pdb {
 
+class HashTableIterator;
+
 class HashTable {
   friend class HashTableIterator;
   struct Header {

Modified: llvm/trunk/lib/DebugInfo/PDB/Raw/HashTable.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/DebugInfo/PDB/Raw/HashTable.cpp?rev=292538&r1=292537&r2=292538&view=diff
==============================================================================
--- llvm/trunk/lib/DebugInfo/PDB/Raw/HashTable.cpp (original)
+++ llvm/trunk/lib/DebugInfo/PDB/Raw/HashTable.cpp Thu Jan 19 17:44:14 2017
@@ -13,6 +13,8 @@
 #include "llvm/ADT/SparseBitVector.h"
 #include "llvm/DebugInfo/PDB/Raw/RawError.h"
 
+#include <assert.h>
+
 using namespace llvm;
 using namespace llvm::pdb;
 




More information about the llvm-commits mailing list