Skip to content
Snippets Groups Projects
Commit 740d166c authored by Alexander Potapenko's avatar Alexander Potapenko
Browse files

Small fix: do not replace the default CFAllocator if it has been replaced already.

llvm-svn: 159824
parent d1e6094f
No related branches found
No related tags found
No related merge requests found
......@@ -98,7 +98,7 @@ INTERCEPTOR(void, __CFInitialize) {
CHECK(FLAG_replace_cfallocator);
CHECK(asan_inited);
REAL(__CFInitialize)();
ReplaceCFAllocator();
if (!cf_asan) ReplaceCFAllocator();
}
namespace {
......
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