[llvm-commits] [PATCH] Disable an ASan-unsafe optimization with address_safety attribute
eugeni.stepanov at gmail.com
Wed Feb 29 23:09:35 PST 2012
Please ignore this patch. The bug is in the AddressSanitizer
On Wed, Feb 29, 2012 at 4:28 PM, Evgeniy Stepanov
<eugeni.stepanov at gmail.com> wrote:
> 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:
>>> 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
>> Did you forgot patch in your mail?
>>> llvm-commits mailing list
>>> llvm-commits at cs.uiuc.edu
More information about the llvm-commits