[LLVMdev] load widening conflicts with AddressSanitizer

Rafael Ávila de Espíndola rafael.espindola at gmail.com
Sat Dec 17 07:40:05 PST 2011


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?

Alternatively, could asan analyze the IL to see which bytes are used?

> -Chris
> 

Cheers,
Rafael



More information about the llvm-dev mailing list