summaryrefslogtreecommitdiff
path: root/lib/tsan/rtl/tsan_rtl_report.cc
Commit message (Collapse)AuthorAge
* [Sanitizer] Make StackTrace::Unwind the only public way to unwind a stack trace.Alexey Samsonov2013-11-07
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194196 91177308-0d34-0410-b5e6-96231b3b80d8
* tsan: move shadow stack from thread descriptors to fixed addressesDmitry Vyukov2013-10-16
| | | | | | | | | | This allows to increase max shadow stack size to 64K, and reliably catch shadow stack overflows instead of silently corrupting memory. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192797 91177308-0d34-0410-b5e6-96231b3b80d8
* tsan/msan: add halt_on_error flagDmitry Vyukov2013-08-13
| | | | | | | | If halt_on_error==true, program terminates after reporting first error. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188279 91177308-0d34-0410-b5e6-96231b3b80d8
* tsan: consistently use return pc as top frame pcDmitry Vyukov2013-06-17
| | | | | | | | always substract 1 from the top pc this allows to get correct stacks with -O2 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184112 91177308-0d34-0410-b5e6-96231b3b80d8
* [TSan] use InternalMmapVector to store fired suppressionsAlexey Samsonov2013-06-14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183974 91177308-0d34-0410-b5e6-96231b3b80d8
* tsan: add -Wno-maybe-uninitialized to Go build scriptDmitry Vyukov2013-06-11
| | | | | | | this is how the rest of the codebase is built git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183738 91177308-0d34-0410-b5e6-96231b3b80d8
* tsan: allows to suppress races on global variablesDmitry Vyukov2013-06-10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183672 91177308-0d34-0410-b5e6-96231b3b80d8
* tsan: fix old gcc warningsDmitry Vyukov2013-06-10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183645 91177308-0d34-0410-b5e6-96231b3b80d8
* tsan: always strip bottom frame in Go reportsDmitry Vyukov2013-06-06
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183408 91177308-0d34-0410-b5e6-96231b3b80d8
* tsan: remove "printing report from signal handler. Can crash or hang" outputDmitry Vyukov2013-05-17
| | | | | | | | it was added to debug mysterious hangs, but it does not seem to happen anymore now it only clutter up output git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182089 91177308-0d34-0410-b5e6-96231b3b80d8
* tsan: reverse stack trace for failed CHECK's, this is how we print traces in ↵Dmitry Vyukov2013-04-30
| | | | | | other places git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180781 91177308-0d34-0410-b5e6-96231b3b80d8
* tsan: fix crash when data race happens on out-of-bounds accesses.Dmitry Vyukov2013-04-24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180180 91177308-0d34-0410-b5e6-96231b3b80d8
* [Sanitizer] Use a common mutex to prevent mixing reports from different ↵Alexey Samsonov2013-04-05
| | | | | | sanitizers. This fixes PR15516 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178853 91177308-0d34-0410-b5e6-96231b3b80d8
* tsan: print matched suppressions if print_suppressions=1 flag is providedDmitry Vyukov2013-03-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178159 91177308-0d34-0410-b5e6-96231b3b80d8
* tsan: better reporting of thread leaksDmitry Vyukov2013-03-21
| | | | | | | | | 1. do not report running threads as leaks 2. aggregate leaked threads by creation stack git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177647 91177308-0d34-0410-b5e6-96231b3b80d8
* tsan: better reporting for races on vptrDmitry Vyukov2013-03-21
| | | | | | | | explicitly say "ctor/dtor vs virtual call" git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177640 91177308-0d34-0410-b5e6-96231b3b80d8
* tsan: flush symbolizer cache if not symbolized for more than 5 secondsDmitry Vyukov2013-03-21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177629 91177308-0d34-0410-b5e6-96231b3b80d8
* tsan: move trace header into 0x600000000000 rangeDmitry Vyukov2013-03-20
| | | | | | | | eliminat thread "dead info" altogether git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177512 91177308-0d34-0410-b5e6-96231b3b80d8
* tsan: smaller memory block headers (32b->16b)Dmitry Vyukov2013-03-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177312 91177308-0d34-0410-b5e6-96231b3b80d8
* tsan: use StackDepot for thread creation stacksDmitry Vyukov2013-03-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177261 91177308-0d34-0410-b5e6-96231b3b80d8
* tsan: fix Go buildDmitry Vyukov2013-03-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177260 91177308-0d34-0410-b5e6-96231b3b80d8
* tsan: use StackDepot in sync object to store creation stacksDmitry Vyukov2013-03-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177258 91177308-0d34-0410-b5e6-96231b3b80d8
* [TSan] Use ThreadRegistry::FindThreadContextLocked() to find thread by its ↵Alexey Samsonov2013-03-18
| | | | | | stack/tls address. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177248 91177308-0d34-0410-b5e6-96231b3b80d8
* [TSan] Switch TSan runtime to use ThreadRegistry class from sanitizer_commonAlexey Samsonov2013-03-15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177154 91177308-0d34-0410-b5e6-96231b3b80d8
* tsan: fix suppress_java logicDmitry Vyukov2013-02-07
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174635 91177308-0d34-0410-b5e6-96231b3b80d8
* tsan: fix Go buildDmitry Vyukov2013-02-07
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174622 91177308-0d34-0410-b5e6-96231b3b80d8
* [TSan] skip multiple internal frames, if necessaryAlexey Samsonov2013-02-06
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174516 91177308-0d34-0410-b5e6-96231b3b80d8
* [tsan] improve FrameIsInternalKostya Serebryany2013-02-06
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174506 91177308-0d34-0410-b5e6-96231b3b80d8
* [tsan] print error summary lineKostya Serebryany2013-02-06
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174505 91177308-0d34-0410-b5e6-96231b3b80d8
* tsan: even if races between atomic and plain memory accesses are turned off ↵Dmitry Vyukov2013-02-01
| | | | | | | | | (report_atomic_races=0), still report races between atomic accesses and free(). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174175 91177308-0d34-0410-b5e6-96231b3b80d8
* tsan: say that the memory access is atomic in reportsDmitry Vyukov2013-02-01
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174168 91177308-0d34-0410-b5e6-96231b3b80d8
* tsan: detect races between plain and atomic memory accessesDmitry Vyukov2013-02-01
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174163 91177308-0d34-0410-b5e6-96231b3b80d8
* tsan: dump stack on internal assert failureDmitry Vyukov2013-01-29
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173799 91177308-0d34-0410-b5e6-96231b3b80d8
* tsan: suppress reports using both stacksDmitry Vyukov2013-01-24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173346 91177308-0d34-0410-b5e6-96231b3b80d8
* tsan: describe stack and TLS addressesDmitry Vyukov2013-01-14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172393 91177308-0d34-0410-b5e6-96231b3b80d8
* tsan: fix compiler warningDmitry Vyukov2013-01-11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172191 91177308-0d34-0410-b5e6-96231b3b80d8
* tsan: symbolize global variablesDmitry Vyukov2013-01-11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172181 91177308-0d34-0410-b5e6-96231b3b80d8
* tsan: warn about reports from signal handlersDmitry Vyukov2012-12-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170430 91177308-0d34-0410-b5e6-96231b3b80d8
* tsan: describe "file descriptor" locationDmitry Vyukov2012-12-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170417 91177308-0d34-0410-b5e6-96231b3b80d8
* tsan: say what thread had created a thread in reportsDmitry Vyukov2012-12-17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170346 91177308-0d34-0410-b5e6-96231b3b80d8
* tsan: add some more functions for java filteringDmitry Vyukov2012-12-06
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169501 91177308-0d34-0410-b5e6-96231b3b80d8
* tsan: add 'free' to java nonsense reportsDmitry Vyukov2012-12-06
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169494 91177308-0d34-0410-b5e6-96231b3b80d8
* tsan: add mutexsets to reportsDmitry Vyukov2012-12-06
| | | | | | | | With this change reports say what mutexes the threads hold around the racy memory accesses. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169493 91177308-0d34-0410-b5e6-96231b3b80d8
* tsan: output thread namesDmitry Vyukov2012-12-04
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169279 91177308-0d34-0410-b5e6-96231b3b80d8
* tsan: fix trace handling when trace is reused between threadsDmitry Vyukov2012-12-04
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169259 91177308-0d34-0410-b5e6-96231b3b80d8
* tsan: describe global vars (module+offset for now)Dmitry Vyukov2012-12-03
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169122 91177308-0d34-0410-b5e6-96231b3b80d8
* tsan: suppress weird race reports when JVM is embed into the processDmitry Vyukov2012-11-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169019 91177308-0d34-0410-b5e6-96231b3b80d8
* tsan: dynamic history sizeDmitry Vyukov2012-11-28
| | | | | | | introduces history_size parameter that can be used to control trace size at startup git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168786 91177308-0d34-0410-b5e6-96231b3b80d8
* tsan: move traces from tls into dedicated storage at fixed addressDmitry Vyukov2012-11-28
| | | | | | | | helps to reduce tls size (it's weird to have multi-MB tls) will help with dynamically adjustable trace size git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168783 91177308-0d34-0410-b5e6-96231b3b80d8
* tsan: add flag to suppress all reports (useful for benchmarking)Dmitry Vyukov2012-11-07
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167532 91177308-0d34-0410-b5e6-96231b3b80d8