[llvm-commits] [PATCH] Disable an ASan-unsafe optimization with address_safety attribute
Evgeniy Stepanov
eugeni.stepanov at gmail.com
Wed Feb 29 04:28:17 PST 2012
Right. Thanks for noticing :)
On Wed, Feb 29, 2012 at 4:27 PM, Jia Liu <proljc at gmail.com> wrote:
> Hi Evgeniy,
>
> On Wed, Feb 29, 2012 at 8:15 PM, Evgeniy Stepanov
> <eugeni.stepanov at gmail.com> wrote:
>> Hi,
>>
>> please review this fix for bug 12047.
>>
>> One of InstCombine optimizations can replace an allocation of type T
>> with an allocation of type S, where S has a smaller storage size, but
>> the same allocation size. This is ok for regular builds, but
>> incompatible with address safety analysis tools like AddressSanitizer.
>>
>> This patch disables this optimization in functions with address_safety
>> attribute.
>
> Did you forgot patch in your mail?
>
>> _______________________________________________
>> llvm-commits mailing list
>> llvm-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
-------------- next part --------------
A non-text attachment was scrubbed...
Name: instcombine_address_safety.patch
Type: text/x-patch
Size: 2175 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120229/8341cb5d/attachment.bin>
More information about the llvm-commits
mailing list