Hello, <div><br></div>The following patch adds __attribute__((no_address_safety_analysis)) which will allow to disable <div>address safety analysis (such as e.g. AddressSanitizer or SAFECode) for a specific function. </div>
<div><br></div><div>When building with AddressSanitizer, add AddressSafety function attribute to every generated function </div><div>except for those that have __attribute__((no_address_safety_analysis)).</div><div><br></div>
<div>With this patch we will be able to </div><div>1. disable AddressSanitizer for a particular function</div><div>2. disable AddressSanitizer-hostile optimizations (such as some cases of load widening) when AddressSanitizer is on. </div>
<div><br></div><div><a href="http://codereview.appspot.com/5561050/">http://codereview.appspot.com/5561050/</a></div><div><br></div><div>Thanks, </div><div><br></div><div>--kcc </div>