[llvm-commits] [PATCH] Disable an ASan-unsafe optimization with address_safety attribute
Jia Liu
proljc at gmail.com
Wed Feb 29 04:27:01 PST 2012
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
More information about the llvm-commits
mailing list