summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/DebugInfo/CodeView/RandomAccessVisitorTest.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2017-11-30 18:39:50 +0000
committerZachary Turner <zturner@google.com>2017-11-30 18:39:50 +0000
commitca6dbf1440e66f8a726cda3797c5e61b2376ec8d (patch)
tree8f595756bf7d8d238776ace8e7cd57fdf1253486 /llvm/unittests/DebugInfo/CodeView/RandomAccessVisitorTest.cpp
parent23e70e6f577ac3c22c486dbe49d99f115e241956 (diff)
downloadbcm5719-llvm-ca6dbf1440e66f8a726cda3797c5e61b2376ec8d.tar.gz
bcm5719-llvm-ca6dbf1440e66f8a726cda3797c5e61b2376ec8d.zip
Split TypeTableBuilder into two classes.
llvm-svn: 319456
Diffstat (limited to 'llvm/unittests/DebugInfo/CodeView/RandomAccessVisitorTest.cpp')
-rw-r--r--llvm/unittests/DebugInfo/CodeView/RandomAccessVisitorTest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/unittests/DebugInfo/CodeView/RandomAccessVisitorTest.cpp b/llvm/unittests/DebugInfo/CodeView/RandomAccessVisitorTest.cpp
index 6fb95bdbbfd..669f1ff3500 100644
--- a/llvm/unittests/DebugInfo/CodeView/RandomAccessVisitorTest.cpp
+++ b/llvm/unittests/DebugInfo/CodeView/RandomAccessVisitorTest.cpp
@@ -8,11 +8,11 @@
//===----------------------------------------------------------------------===//
#include "llvm/ADT/SmallBitVector.h"
+#include "llvm/DebugInfo/CodeView/AppendingTypeTableBuilder.h"
#include "llvm/DebugInfo/CodeView/CVTypeVisitor.h"
#include "llvm/DebugInfo/CodeView/LazyRandomTypeCollection.h"
#include "llvm/DebugInfo/CodeView/TypeRecord.h"
#include "llvm/DebugInfo/CodeView/TypeRecordMapping.h"
-#include "llvm/DebugInfo/CodeView/TypeTableBuilder.h"
#include "llvm/DebugInfo/CodeView/TypeVisitorCallbacks.h"
#include "llvm/DebugInfo/PDB/Native/RawTypes.h"
#include "llvm/Support/Allocator.h"
@@ -94,7 +94,7 @@ public:
static void SetUpTestCase() {
GlobalState = llvm::make_unique<GlobalTestState>();
- TypeTableBuilder Builder(GlobalState->Allocator);
+ AppendingTypeTableBuilder Builder(GlobalState->Allocator);
uint32_t Offset = 0;
for (int I = 0; I < 11; ++I) {
@@ -351,7 +351,7 @@ TEST_F(RandomAccessVisitorTest, InnerChunk) {
}
TEST_F(RandomAccessVisitorTest, CrossChunkName) {
- TypeTableBuilder Builder(GlobalState->Allocator);
+ AppendingTypeTableBuilder Builder(GlobalState->Allocator);
// TypeIndex 0
ClassRecord Class(TypeRecordKind::Class);
OpenPOWER on IntegriCloud