On 07/22/2014 12:27 PM, Yury Gribov wrote: >> Attached patch delays generation of Asan memory checking >> code until sanopt pass. > > Here is an updated patch based on Jakub's review. > Bootstrapped and regtested on x64. Yet another version with ASAN_CHECK changed to builtin function (instead of internal-fn) per Richard's advice. -Y