[LLVMdev] Need help reproducing a sanitizer buildbot failure

Diego Novillo dnovillo at google.com
Thu Apr 10 16:12:20 PDT 2014


OK, so now I've gotten a build but the output from asan is less than
helpful:

$ llvm/x/llvm_build_asan/./bin/opt
llvm/x/llvm/test/Other/optimization-remarks-inline.ll
-inline -pass-remarks=inline -S
=================================================================
==6791==ERROR: AddressSanitizer: heap-use-after-free on address
0x6040000016a8 at pc 0x1e70553 bp 0x7fff29de4fb0 sp 0x7fff29de4fa8
READ of size 13 at 0x6040000016a8 thread T0
    #0 0x1e70552 (/ssd/dnovillo/llvm/x/llvm_build_asan/bin/opt+0x1e70552)
    #1 0x1e6f3d3 (/ssd/dnovillo/llvm/x/llvm_build_asan/bin/opt+0x1e6f3d3)
    #2 0x7ab722 (/ssd/dnovillo/llvm/x/llvm_build_asan/bin/opt+0x7ab722)
    #3 0x19eacc5 (/ssd/dnovillo/llvm/x/llvm_build_asan/bin/opt+0x19eacc5)
    #4 0x1892f92 (/ssd/dnovillo/llvm/x/llvm_build_asan/bin/opt+0x1892f92)
[ ... ]

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.


Thanks.  Diego.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140410/3dcccdf1/attachment.html>


More information about the llvm-dev mailing list