Skip to content
Commit 89f92703 authored by Alexander Potapenko's avatar Alexander Potapenko
Browse files

A portable way to check whether __CFInitialize has been called: compare...

A portable way to check whether __CFInitialize has been called: compare kCFAllocatorSystemDefault._base._cfisa to 0.
This should fix http://code.google.com/p/address-sanitizer/issues/detail?id=87 on both Lion and Snow Leopard.

llvm-svn: 159821
parent 4f934676
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment