[cfe-commits] r148716 - /cfe/trunk/docs/AddressSanitizer.html

Kostya Serebryany kcc at google.com
Mon Jan 23 10:50:24 PST 2012


Author: kcc
Date: Mon Jan 23 12:50:23 2012
New Revision: 148716

URL: http://llvm.org/viewvc/llvm-project?rev=148716&view=rev
Log:
[asan] document the need for -fno-optimize-sibling-calls

Modified:
    cfe/trunk/docs/AddressSanitizer.html

Modified: cfe/trunk/docs/AddressSanitizer.html
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/AddressSanitizer.html?rev=148716&r1=148715&r2=148716&view=diff
==============================================================================
--- cfe/trunk/docs/AddressSanitizer.html (original)
+++ cfe/trunk/docs/AddressSanitizer.html Mon Jan 23 12:50:23 2012
@@ -50,6 +50,8 @@
 To get a reasonable performance add <tt>-O1</tt> or higher. <BR>
 To get nicer stack traces in error messages add
 <tt>-fno-omit-frame-pointer</tt>. <BR>
+To get perfect stack traces you may need to disable inlining (just use <tt>-O1</tt>) and tail call
+elimination (</tt>-fno-optimize-sibling-calls</tt>).
 
 <pre>
 % cat example_UseAfterFree.cc





More information about the cfe-commits mailing list