summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/DebugInfo/PDB/Raw/HashTable.h2
-rw-r--r--llvm/lib/DebugInfo/PDB/Raw/HashTable.cpp2
2 files changed, 4 insertions, 0 deletions
diff --git a/llvm/include/llvm/DebugInfo/PDB/Raw/HashTable.h b/llvm/include/llvm/DebugInfo/PDB/Raw/HashTable.h
index c0c32404a18..d8035501203 100644
--- a/llvm/include/llvm/DebugInfo/PDB/Raw/HashTable.h
+++ b/llvm/include/llvm/DebugInfo/PDB/Raw/HashTable.h
@@ -27,6 +27,8 @@
namespace llvm {
namespace pdb {
+class HashTableIterator;
+
class HashTable {
friend class HashTableIterator;
struct Header {
diff --git a/llvm/lib/DebugInfo/PDB/Raw/HashTable.cpp b/llvm/lib/DebugInfo/PDB/Raw/HashTable.cpp
index 68dbbd08853..b218f3d8f38 100644
--- a/llvm/lib/DebugInfo/PDB/Raw/HashTable.cpp
+++ b/llvm/lib/DebugInfo/PDB/Raw/HashTable.cpp
@@ -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;
OpenPOWER on IntegriCloud