Because CFAllocatorCreate() should also be called after __CFInitialize() on Lion,
do so by factoring the CFAllocator logic into ReplaceCFAllocator(), which is called from
either the __CFInitialize wrapper or __asan_init(), depending on which of them is called later.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159822 91177308-0d34-0410-b5e6-96231b3b80d8
1 file changed