Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1772)

Unified Diff: syzygy/agent/asan/heaps/simple_block_heap_unittest.cc

Issue 2508333002: Remove the is_nested bit from the BlockInfo structure. (Closed)
Patch Set: Address Siggi's comments. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: syzygy/agent/asan/heaps/simple_block_heap_unittest.cc
diff --git a/syzygy/agent/asan/heaps/simple_block_heap_unittest.cc b/syzygy/agent/asan/heaps/simple_block_heap_unittest.cc
index 364f93863b472926eb3761fe60876120ccb7f687..8c5b5f973a2f0c40fec86909160c6532340ba2ae 100644
--- a/syzygy/agent/asan/heaps/simple_block_heap_unittest.cc
+++ b/syzygy/agent/asan/heaps/simple_block_heap_unittest.cc
@@ -56,14 +56,14 @@ TEST(SimpleBlockHeapTest, EndToEnd) {
// Allocate and free a zero-sized allocation. This should succeed
// by definition.
void* alloc = h.AllocateBlock(0, 0, 0, &layout);
- BlockInitialize(layout, alloc, false, &block);
+ BlockInitialize(layout, alloc, &block);
EXPECT_TRUE(h.FreeBlock(block));
// Make a bunch of different sized allocations.
BlockInfoSet blocks;
for (uint32_t i = 1; i < 1024 * 1024; i <<= 1) {
void* alloc = h.AllocateBlock(i, 0, 0, &layout);
- BlockInitialize(layout, alloc, false, &block);
+ BlockInitialize(layout, alloc, &block);
blocks.insert(block);
}
« no previous file with comments | « syzygy/agent/asan/heaps/large_block_heap_unittest.cc ('k') | syzygy/agent/asan/heaps/zebra_block_heap_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698