HomePhabricator

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

Authored by cryptoad on May 7 2018, 12:02 PM.

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

llvm-svn: 331662

Details

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