Set --use-symbol-table=true as Alexey has already resolved the FIXME.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164693 91177308-0d34-0410-b5e6-96231b3b80d8
Encapsulate the main loop into a class to allow reusing it.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164694 91177308-0d34-0410-b5e6-96231b3b80d8
Fixed a number of gpylint warnings, added binary names filtering (useful for Chrome), minor fixes.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164695 91177308-0d34-0410-b5e6-96231b3b80d8
[TSan] move replacement for new/delete back into tsan_interceptors

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164764 91177308-0d34-0410-b5e6-96231b3b80d8
Quick fix data/bss detection in TSan.

The old way breaks when a module's bss is adjacent to the [heap] vm area.
Both ways are not very reliable, though.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164772 91177308-0d34-0410-b5e6-96231b3b80d8
Add a missing const qualifier.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164773 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] Change defaults for Android target.

This way building without -DASAN_* in CFLAGS produces working binaries.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164816 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan] use llvm-symbolizer (in offline mode) in ASan output tests on Linux

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164819 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan] Fix unit test headers. Add an option to change substitute asan_test_config.h file

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164821 91177308-0d34-0410-b5e6-96231b3b80d8
Add support for iOS6.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164902 91177308-0d34-0410-b5e6-96231b3b80d8
Add compiler-rt support for Swift.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164903 91177308-0d34-0410-b5e6-96231b3b80d8
Temporarily comment out some new arm variants to try to fix buildbots.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164909 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: run output tests in parallel


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164997 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: output tid's in reports


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164998 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: wait for pending reports before exit


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164999 91177308-0d34-0410-b5e6-96231b3b80d8
[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.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165000 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan] Add extern C for __asan_symbolize on Windows

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165003 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: fix mac build


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165004 91177308-0d34-0410-b5e6-96231b3b80d8
[*San]: handle EINTR.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165006 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan] Change __asan_set_on_error_callback to weak overridable __asan_on_error, so that ASan would call the latter even if it finds the error early (i.e. during module initialization)

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165008 91177308-0d34-0410-b5e6-96231b3b80d8