Check .rela instead of ELF64 for the compensation vaue resetting
[oota-llvm.git] / unittests / Support / AllocatorTest.cpp
index bc5bd3dc407f3154832bcc66183b53beddf09140..8b463c11dfca3be66487043064cd4db0d48bfe07 100644 (file)
@@ -98,7 +98,7 @@ TEST(AllocatorTest, TestSmallSlabSize) {
   BumpPtrAllocator Alloc(128);
 
   Alloc.Allocate(200, 0);
-  EXPECT_EQ(1U, Alloc.GetNumSlabs());
+  EXPECT_EQ(2U, Alloc.GetNumSlabs());
 }
 
 // Mock slab allocator that returns slabs aligned on 4096 bytes.  There is no