HomePhabricator

[sanitizer] s/TestOnlyInit/Init for the allocator ByteMap (NFC)

Description

[sanitizer] s/TestOnlyInit/Init for the allocator ByteMap (NFC)

Summary:
The TestOnlyInit function of {Flat,TwoLevel}ByteMap seems to be a misnomer
since the function is used outside of tests as well, namely in
SizeClassAllocator32::Init. Rename it to Init and update the callers.

Reviewers: alekseyshl, vitalybuka

Reviewed By: vitalybuka

Subscribers: kubamracek, delcypher, #sanitizers, llvm-commits

Differential Revision: https://reviews.llvm.org/D46408

Details

Committed
cryptoadMay 7 2018, 12:02 PM
Reviewer
vitalybuka
Differential Revision
D46408: [sanitizer] s/TestOnlyInit/Init for the allocator ByteMap (NFC)
Parents
rL331661: Status updates for Rapperswil
Branches
Unknown
Tags
Unknown