[Sanitizer/ASan] Simplify the code that prints and symbolizes stack traces. Fall...
authorAlexey Samsonov <samsonov@google.com>
Tue, 2 Oct 2012 12:11:17 +0000 (12:11 +0000)
committerAlexey Samsonov <samsonov@google.com>
Tue, 2 Oct 2012 12:11:17 +0000 (12:11 +0000)
commite29c6731aa20ffd4cbc66339f8b4c0780b82ffa3
tree7378a722b76029b60271cfa941aef21adb75c745
parenta2c1c7a78efc7229e7cb3304043a7db220f645a6
[Sanitizer/ASan] Simplify the code that prints and symbolizes stack traces. Fall back to module+offset if user-provided symbolizer failed. Use weak function __asan_symbolize instead of __asan_set_symbolize_callback in ASan interface, so that we're able to symbolize reports for errors that happen before the main() is called, for example, during module initialization.

llvm-svn: 165000
compiler-rt/include/sanitizer/asan_interface.h
compiler-rt/lib/asan/asan_internal.h
compiler-rt/lib/asan/asan_rtl.cc
compiler-rt/lib/asan/asan_stack.cc
compiler-rt/lib/asan/asan_win.cc
compiler-rt/lib/asan/lit_tests/symbolize_callback.cc
compiler-rt/lib/sanitizer_common/sanitizer_stacktrace.cc