Descriptionmac: Several minor fixes to allocator shim.
This CL:
* Ensures that no allocator shim state is carried over between tests.
* Updates malloc zone interception logic to reflect the fact that the default
malloc zone is not included in malloc_get_all_zones.
* Turn MallocZoneFunctions into POD. Update g_malloc_zones to be an array
rather than a pointer.
BUG=693237
Review-Url: https://codereview.chromium.org/2727463002
Cr-Commit-Position: refs/heads/master@{#459964}
Committed: https://chromium.googlesource.com/chromium/src/+/2f9bf057e1227bcee1d24e4b619894233946d26c
Patch Set 1 #Patch Set 2 : Clean up. #Patch Set 3 : More test fixes. #Patch Set 4 : Clean up. #Patch Set 5 : Treat MallocZoneFunctions as POD. #
Total comments: 10
Patch Set 6 : Rebase. #Patch Set 7 : Comments from primiano. #Patch Set 8 : compile erorr. #Patch Set 9 : more compile error. #Messages
Total messages: 47 (36 generated)
|