History log of /external/compiler-rt/lib/tsan/rtl/tsan_platform.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
86277eb844c4983c81de62d7c050e92fe7155788 23-Mar-2015 Stephen Hines <srhines@google.com> Update aosp/master compiler-rt for rebase to r230699.

Change-Id: I6c415fd5f6420e3012d9da76719111721e906dfa
/external/compiler-rt/lib/tsan/rtl/tsan_platform.h
6d1862363c88c183b0ed7740fca876342cf0474b 27-Nov-2014 Stephen Hines <srhines@google.com> Update aosp/master compiler-rt for rebase to r222486.

Change-Id: I38047809dbac0425193c82e810315998adbb380d
/external/compiler-rt/lib/tsan/rtl/tsan_platform.h
6a211c5814e25d6745a5058cc0e499e5235d3821 21-Jul-2014 Stephen Hines <srhines@google.com> Update compiler-rt for rebase to r212749.

Includes a cherry-pick of:
r213309 - fixes umodsi3

Change-Id: Ic7367e3586b6af7ef74bee6a8cf437d5f28d975a
/external/compiler-rt/lib/tsan/rtl/tsan_platform.h
2d1fdb26e458c4ddc04155c1d421bced3ba90cd0 29-May-2014 Stephen Hines <srhines@google.com> Update compiler-rt aosp/master for 3.5 (r209699) rebase.

Change-Id: I158a30186f0faea2e2400e9dfdd878db2eb40e90
/external/compiler-rt/lib/tsan/rtl/tsan_platform.h
01a7ce809bf7cc627d73c045c70bcca9891f632c 16-Oct-2013 Dmitry Vyukov <dvyukov@google.com> tsan: move shadow stack from thread descriptors to fixed addresses

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
/external/compiler-rt/lib/tsan/rtl/tsan_platform.h
92b54796149a8b5995fa49c43f43b709b83c5644 03-Oct-2013 Dmitry Vyukov <dvyukov@google.com> tsan: add memory_limit_mb flag

The flag allows to bound maximum process memory consumption (best effort).
If RSS reaches memory_limit_mb, tsan flushes all shadow memory.



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191913 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_platform.h
24323de08fa8850712d56621bff29dbbbd0285a9 07-May-2013 Sergey Matveev <earthdok@google.com> [sanitizer] Move GetThreadStackAndTls from TSan to sanitizer_common.

Move this function to sanitizer_common because LSan uses it too. Also, fix a bug
where the TLS range reported for main thread was off by the size of the thread
descriptor from libc (TSan doesn't care much, but for LSan it's critical).

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181322 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_platform.h
d36f07c7f2a915616c3f784c5f77f21f1b86817f 23-Apr-2013 Dmitry Vyukov <dvyukov@google.com> tsan: support heap starting at 0x04c0 (used in some custom deplyments)



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180116 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_platform.h
4860c68bafe61e02a84ce8bc76095f5e5e5539e1 23-Apr-2013 Dmitry Vyukov <dvyukov@google.com> tsan: update Go memory mapping, Go now uses 0x00c0 heap base


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180113 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_platform.h
abfdbdf5bc7e9d202652fe061acd20c14a4d22f4 28-Mar-2013 Timur Iskhodzhanov <timurrrr@google.com> Make all the ALWAYS_INLINE users Windows-friendly; also, avoid ALWAYS_INLINE INLINE combinations

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178266 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_platform.h
9743d74426ae43898e4da55e591b09be18f8aa6e 20-Mar-2013 Dmitry Vyukov <dvyukov@google.com> tsan: move trace header into 0x600000000000 range
eliminat thread "dead info" altogether



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177512 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_platform.h
24e13723f8477d8c42ab8b2a7f4f69fc089842f1 19-Mar-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Replace more platform checks with SANITIZER_ constants.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177400 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_platform.h
5d72fc796f21fb9714722e0006d72213fb300688 18-Mar-2013 Dmitry Vyukov <dvyukov@google.com> tsan: better memory profiler



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177286 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_platform.h
b114ed83859d8d4964ac2284584733bcd2acf4f6 13-Mar-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Move GetTlsSize code from TSan to sanitizer_common.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176938 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_platform.h
03f224835f46801a0e22cc2951d21b67304e0457 07-Feb-2013 Dmitry Vyukov <dvyukov@google.com> tsan: intercept libc __res_iclose
this is required to catch close of file descriptors created in getaddrinfo()


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174624 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_platform.h
6535c31c66569df262791f0b56852c496977c977 13-Dec-2012 Dmitry Vyukov <dvyukov@google.com> tsan: support MapThreadTrace() on all platforms


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170113 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_platform.h
c8f0a00ede42f83ac79ff63c347ca8ddcda77155 30-Nov-2012 Dmitry Vyukov <dvyukov@google.com> tsan: fix int overflow and several instances where tid is used with ignore


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169029 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_platform.h
385542a2e83a4f37de4232d6c72097c1b7d6d44b 28-Nov-2012 Dmitry Vyukov <dvyukov@google.com> tsan: move traces from tls into dedicated storage at fixed address
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
/external/compiler-rt/lib/tsan/rtl/tsan_platform.h
45bdb2ffb2878a6c22493af76256d5950dc0a6a2 28-Nov-2012 Dmitry Vyukov <dvyukov@google.com> tsan: add description of memory layouts in different configs


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168777 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_platform.h
e89f1846d58550f919a0ef9081b11d4b0405019d 24-Nov-2012 Kostya Serebryany <kcc@google.com> [asan/tsan] get rid of kPageSize completely in favor of GetPageSizeCached(). This makes the code friendly to more platforms

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168537 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_platform.h
6da4354df86f535b479d45a4adbba31af4634f46 06-Nov-2012 Dmitry Vyukov <dvyukov@google.com> tsan: add shadow mapping for windows


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167455 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_platform.h
0c2feef1067818db0ede4531a2e71c9b5595d57a 07-Sep-2012 Dmitry Vyukov <dvyukov@google.com> tsan: ignore destruction of global mutexes (causes a lot of non-interesting reports)


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163400 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_platform.h
539121b7be56780045ba1e9c0aea826626cb638a 16-Aug-2012 Dmitry Vyukov <dvyukov@google.com> tsan: fix COMPAT shadow mapping once again


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162020 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_platform.h
eee7f733f047bbd58b0787e6c492fd1bed375cc0 16-Aug-2012 Dmitry Vyukov <dvyukov@google.com> tsan: fix COMPAT shadow mapping for new memory allocator


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162018 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_platform.h
2e87051d136db3150a3ca322d8862f92b0a684bb 15-Aug-2012 Dmitry Vyukov <dvyukov@google.com> tsan: switch to new allocator


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161953 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_platform.h
5b266cb19c9c18ab5da77441de5cb45f0f4abac1 16-Jul-2012 Dmitry Vyukov <dvyukov@google.com> tsan: port Go runtime to Darwin


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160266 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_platform.h
cb3a6b82ae406613f8870519d2acda1ee1c8f2b5 06-Jul-2012 Dmitry Vyukov <dvyukov@google.com> tsan: Go language support fixes


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159856 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_platform.h
b78caa645f70eff2f037f1f8bb43ca9129dbd8d9 05-Jul-2012 Dmitry Vyukov <dvyukov@google.com> tsan: Go language support


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159754 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_platform.h
0969bcf2c936126b1f6e636b978aade8fc207437 18-Jun-2012 Alexey Samsonov <samsonov@google.com> [Sanitizer] move different wrappers from TSan to common sanitizer runtime

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158655 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_platform.h
3fb44411ae1b9c2a277c04b3f379554290832009 14-Jun-2012 Dmitry Vyukov <dvyukov@google.com> tsan: fix COMPAT mapping to not produce false reports


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158473 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_platform.h
230c3be6cdd094a187f48e27ba0961dbeee70344 06-Jun-2012 Alexey Samsonov <samsonov@google.com> [Sanitizer] Move more functions/constants to sanitizer_common.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158056 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_platform.h
8e820fcf7aafeb8101322182d742fcf99255d972 06-Jun-2012 Alexey Samsonov <samsonov@google.com> [Sanitizer] move internal_filesize and internal_dup2 from TSan to sanitizer_common.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158052 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_platform.h
89345b088c65680b4b1250ca9a80fb6fc464447f 05-Jun-2012 Alexey Samsonov <samsonov@google.com> [TSan] make TSan runtime use internal_{close,read,write} from sanitizer_libc

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157992 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_platform.h
7f9c5a220b2768a450696bbd157a0e6f2e9ceea3 05-Jun-2012 Alexey Samsonov <samsonov@google.com> [TSan] use __sanitizer::internal_open in TSan run-time

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157988 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_platform.h
789b6c5669547b550034fc9888059b17e2ff1417 25-May-2012 Dmitry Vyukov <dvyukov@google.com> tsan: do not call into libc in symbolizer and in other code (this causes recursion and crashes)


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157466 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_platform.h
adfb65039646774f0f063b538f8fb0aec021f42b 22-May-2012 Dmitry Vyukov <dvyukov@google.com> tsan: add shadow memory flush + fix few bugs


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157270 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_platform.h
26127735454fddae3495794f38189d57dde6510f 22-May-2012 Dmitry Vyukov <dvyukov@google.com> tsan: simple memory profiler


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157248 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_platform.h
7ac41484ea322e0ea5774df681660269f5dc321e 10-May-2012 Kostya Serebryany <kcc@google.com> [tsan] First commit of ThreadSanitizer (TSan) run-time library.

Algorithm description: http://code.google.com/p/thread-sanitizer/wiki/ThreadSanitizerAlgorithm

Status:
The tool is known to work on large real-life applications, but still has quite a few rough edges.
Nothing is guaranteed yet.

The tool works on x86_64 Linux.
Support for 64-bit MacOS 10.7+ is planned for late 2012.
Support for 32-bit OSes is doable, but problematic and not yet planed.

Further commits coming:
- tests
- makefiles
- documentation
- clang driver patch

The code was previously developed at http://code.google.com/p/data-race-test/source/browse/trunk/v2/
by Dmitry Vyukov and Kostya Serebryany with contributions from
Timur Iskhodzhanov, Alexander Potapenko, Alexey Samsonov and Evgeniy Stepanov.




git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156542 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_platform.h