diff options
author | Alexander Potapenko <glider@google.com> | 2012-08-29 12:36:24 +0000 |
---|---|---|
committer | Alexander Potapenko <glider@google.com> | 2012-08-29 12:36:24 +0000 |
commit | 5a9b616d6b8eec9b8acb0622c4c43124ae6cb71c (patch) | |
tree | 893f28f73ee743cdc66d4b6cc3be608cbf2e8ee9 /llvm/lib/Transforms/Utils/SimplifyInstructions.cpp | |
parent | d5a176dbad878b8e44e096d2cc7558bd6fa31355 (diff) | |
download | bcm5719-llvm-5a9b616d6b8eec9b8acb0622c4c43124ae6cb71c.tar.gz bcm5719-llvm-5a9b616d6b8eec9b8acb0622c4c43124ae6cb71c.zip |
For invalid pointers passed to free_common check whether they are actually skewed to hold an additional CFAllocatorRef.
If so, fix the pointer and pass it to asan_free.
See http://code.google.com/p/address-sanitizer/issues/detail?id=70 for more background.
llvm-svn: 162839
Diffstat (limited to 'llvm/lib/Transforms/Utils/SimplifyInstructions.cpp')
0 files changed, 0 insertions, 0 deletions