[asan] document the need for -fno-optimize-sibling-calls

llvm-svn: 148716
This commit is contained in:
Kostya Serebryany
2012-01-23 18:50:23 +00:00
parent 54db64e2e4
commit 8c84d4591d

View File

@@ -50,6 +50,8 @@ Simply compile and link your program with <tt>-faddress-sanitizer</tt> flag. <BR
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