<div dir="ltr">Ah, I see. <div>The bot actually symbolizes the asan's output just fine: </div><div><a href="http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-bootstrap/builds/2959/steps/annotate/logs/stdio">http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-bootstrap/builds/2959/steps/annotate/logs/stdio</a><br>
</div><div><pre style="font-family:'Courier New',courier,monotype,monospace;color:rgb(0,0,0);font-size:medium"><span class=""> #1 0x2888c1d in llvm::raw_ostream::write(char const*, unsigned long) /home/dtoolsbot/build/sanitizer-x86_64-linux-bootstrap/build/llvm/lib/Support/raw_ostream.cpp:332
</span></pre></div><div><span class="">But since this is a lit test, we don't see the whole output and so this requires a local rebuild and rerun</span></div><div><span class="">(and then you need l</span><span style="font-family:arial,sans-serif;font-size:13px">lvm-symbolizer in PATH).</span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">I wonder if we can configure the lit test runner to print the (tail of) test output on failure. </span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">--kcc </span></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Fri, Apr 11, 2014 at 9:59 AM, Evgeniy Stepanov <span dir="ltr"><<a href="mailto:eugenis@google.com" target="_blank">eugenis@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<p dir="ltr">You need llvm-symbolizer in PATH.</p>
<div class="gmail_quote"><div><div class="h5">On Apr 11, 2014 3:16 AM, "Diego Novillo" <<a href="mailto:dnovillo@google.com" target="_blank">dnovillo@google.com</a>> wrote:<br type="attribution"></div></div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<div dir="ltr"><div class="gmail_extra">OK, so now I've gotten a build but the output from asan is less than helpful:</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra"><font face="courier new, monospace">$ llvm/x/llvm_build_asan/./bin/opt </font><span style="font-family:'courier new',monospace">llvm/x/llvm/test/Other/optimization-remarks-inline.ll -inline -pass-remarks=in</span><span style="font-family:'courier new',monospace">line -S</span></div>


<div class="gmail_extra"><font face="courier new, monospace">=================================================================</font></div><div class="gmail_extra"><font face="courier new, monospace">==6791==ERROR: AddressSanitizer: heap-use-after-free on address 0x6040000016a8 a</font><span style="font-family:'courier new',monospace">t pc 0x1e70553 bp 0x7fff29de4fb0 sp 0x7fff29de4fa8</span></div>


<div class="gmail_extra"><font face="courier new, monospace">READ of size 13 at 0x6040000016a8 thread T0</font></div><div class="gmail_extra"><font face="courier new, monospace">    #0 0x1e70552 (/ssd/dnovillo/llvm/x/llvm_build_asan/bin/opt+0x1e70552)</font></div>


<div class="gmail_extra"><font face="courier new, monospace">    #1 0x1e6f3d3 (/ssd/dnovillo/llvm/x/llvm_build_asan/bin/opt+0x1e6f3d3)</font></div><div class="gmail_extra"><font face="courier new, monospace">    #2 0x7ab722 (/ssd/dnovillo/llvm/x/llvm_build_asan/bin/opt+0x7ab722)</font></div>


<div class="gmail_extra"><font face="courier new, monospace">    #3 0x19eacc5 (/ssd/dnovillo/llvm/x/llvm_build_asan/bin/opt+0x19eacc5)</font></div><div class="gmail_extra"><font face="courier new, monospace">    #4 0x1892f92 (/ssd/dnovillo/llvm/x/llvm_build_asan/bin/opt+0x1892f92)</font></div>


<div>[ ... ]</div><div><br></div><div>Is there an option for asan to show me source file locations?  Or at least function names.  I'm not sure what to do with this.</div><div><br></div><div><br></div><div>Thanks.  Diego.</div>


</div></div>
<br></div></div><div class="">_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank">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>
<br></div></blockquote></div>
<br>_______________________________________________<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>
<br></blockquote></div><br></div>