[LLVMdev] load widening conflicts with AddressSanitizer
Chris Lattner
clattner at apple.com
Mon Dec 19 16:27:16 PST 2011
On Dec 17, 2011, at 7:40 AM, Rafael Ávila de Espíndola wrote:
> On 16/12/11 08:46 PM, Chris Lattner wrote:
>> I'm not opposed to disabling this transformation when asan is on, we just need a clean way to express this in the IR.
>
> Could clang be aware of asan being on and introduce a "please don't
> widen" metadata on local variable accesses?
Yes, "we just need a clean way to express this in the IR."
LLVM can't have a global "bool ASANIsOn;" that the optimizers listen to.
-Chris
More information about the llvm-dev
mailing list