aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/InterferenceCache.cpp
diff options
context:
space:
mode:
authorAlexander Potapenko <glider@google.com>2012-06-20 22:29:09 +0000
committerAlexander Potapenko <glider@google.com>2012-06-20 22:29:09 +0000
commitf9f2fbacb38e303819f15b9728887dea547b7957 (patch)
tree9df96d6679d5cf30d2f5e2b347ab3c9a80cf9f5e /llvm/lib/CodeGen/InterferenceCache.cpp
parent2ed08a7cc1431c3ff8defff9e61924b606475bc8 (diff)
downloadllvm-f9f2fbacb38e303819f15b9728887dea547b7957.zip
llvm-f9f2fbacb38e303819f15b9728887dea547b7957.tar.gz
llvm-f9f2fbacb38e303819f15b9728887dea547b7957.tar.bz2
Actually intercept free() to ensure that the deallocations caused by other functions directly calling it are routed to our allocator.
For the allocations that do not belong to any malloc zone check whether they're padded with a pointer to ASan's CFAllocator. If so, free the original (unpadded) pointer. This should fix AddressSanitizerMac.NSURLDeallocation and issue 70. llvm-svn: 158863
Diffstat (limited to 'llvm/lib/CodeGen/InterferenceCache.cpp')
0 files changed, 0 insertions, 0 deletions