<br><br><div class="gmail_quote">On Tue, Dec 27, 2011 at 1:30 PM, Rafael Ávila de Espíndola <span dir="ltr"><<a href="mailto:rafael.espindola@gmail.com">rafael.espindola@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">> What would be the best fix for asan?<br>
> Force  -mdisable-fp-elim when asan is enabled or document that asan<br>
> requires -fomit-frame-pointer for better warning messages?<br>
<br>
</div>Just messages? </blockquote><div><br></div><div>Yes. </div><div>Asan unwinds stack on every malloc/free and on failure. </div><div>w/o frame pointers the warning message will be less useful, but the ability to find bugs will not be affected. </div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I would suggest documentation.<br></blockquote><div><br></div><div>Ok, I'll do that later (if no one else has an opposite opinion). </div>
<div><br></div><div>--kcc </div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
If it is needed by some of the checks then enabling frame pointers by<br>
default when asan is enabled and rejecting or warning when someone tries<br>
to use both asan and -fomit-frame-pointer is probably better.<br>
<br>
> Thanks!<br>
><br>
> --kcc<br>
><br>
<br>
Cheers,<br>
Rafael<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
</div></div></blockquote></div><br>