projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Check .rela instead of ELF64 for the compensation vaue resetting
[oota-llvm.git]
/
unittests
/
Support
/
AllocatorTest.cpp
diff --git
a/unittests/Support/AllocatorTest.cpp
b/unittests/Support/AllocatorTest.cpp
index bc5bd3dc407f3154832bcc66183b53beddf09140..8b463c11dfca3be66487043064cd4db0d48bfe07 100644
(file)
--- a/
unittests/Support/AllocatorTest.cpp
+++ b/
unittests/Support/AllocatorTest.cpp
@@
-98,7
+98,7
@@
TEST(AllocatorTest, TestSmallSlabSize) {
BumpPtrAllocator Alloc(128);
Alloc.Allocate(200, 0);
- EXPECT_EQ(
1
U, Alloc.GetNumSlabs());
+ EXPECT_EQ(
2
U, Alloc.GetNumSlabs());
}
// Mock slab allocator that returns slabs aligned on 4096 bytes. There is no