summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/tsan/rtl/tsan_platform_windows.cc
Commit message (Collapse)AuthorAgeFilesLines
* compiler-rt: Rename .cc file in lib/tsan/rtl to .cppNico Weber2019-08-011-37/+0
| | | | | | Like r367463, but for tsan/rtl. llvm-svn: 367564
* Update the file headers across all of the LLVM projects in the monorepoChandler Carruth2019-01-191-4/+3
| | | | | | | | | | | | | | | | | to reflect the new license. We understand that people may be surprised that we're moving the header entirely to discuss the new license. We checked this carefully with the Foundation's lawyer and we believe this is the correct approach. Essentially, all code in the project is now made available by the LLVM project under our new license, so you will see that the license headers include that license only. Some of our contributors have contributed code under our old license, and accordingly, we have retained a copy of our old license notice in the top-level files in each project and repository. llvm-svn: 351636
* [tsan] Implement WriteMemoryProfile for DarwinKuba Brecka2016-10-311-4/+0
| | | | | | | | TSan’s memory usage profiling currently doesn’t work on Darwin. This patch implements measuring the amount of resident and dirty memory for each memory region. I also removed the GetShadowMemoryConsumption function, which seems to be unused. Differential Revision: https://reviews.llvm.org/D25973 llvm-svn: 285630
* [compiler-rt] [tsan] Unify aarch64 mappingAdhemerval Zanella2015-11-261-0/+3
| | | | | | | | | | | | | This patch unify the 39 and 42-bit support for AArch64 by using an external memory read to check the runtime detected VMA and select the better mapping and transformation. Although slower, this leads to same instrumented binary to be independent of the kernel. Along with this change this patch also fix some 42-bit failures with ALSR disable by increasing the upper high app memory threshold and also the 42-bit madvise value for non large page set. llvm-svn: 254151
* [asan] move GetRSS from tsan to sanitizer_commonKostya Serebryany2014-12-091-4/+0
| | | | llvm-svn: 223730
* tsan: support mmap(MAP_32BIT)Dmitry Vyukov2014-10-241-4/+0
| | | | | | | | | Allow user memory in the first TB of address space. This also enabled non-pie binaries and freebsd. Fixes issue: https://code.google.com/p/thread-sanitizer/issues/detail?id=5 llvm-svn: 220571
* [TSan] Initialize flags as early as possible. Disables back coredump, ↵Alexey Samsonov2014-08-151-2/+1
| | | | | | accidentally enabled in r215479. Add a test. llvm-svn: 215763
* tsan: write memory profile in one line (which is much more readable)Dmitry Vyukov2014-05-291-1/+1
| | | | | | | | | | e.g.: RSS 420 MB: shadow:35 meta:231 file:2 mmap:129 trace:19 heap:0 other:0 nthr=1/31 RSS 365 MB: shadow:3 meta:231 file:2 mmap:106 trace:19 heap:0 other:0 nthr=1/31 RSS 429 MB: shadow:23 meta:234 file:2 mmap:143 trace:19 heap:6 other:0 nthr=1/31 RSS 509 MB: shadow:78 meta:241 file:2 mmap:147 trace:19 heap:19 other:0 nthr=1/31 llvm-svn: 209813
* tsan: fix windows buildDmitry Vyukov2014-02-041-5/+6
| | | | llvm-svn: 200779
* [sanitizer] Move GetThreadStackAndTls from TSan to sanitizer_common.Sergey Matveev2013-05-071-8/+0
| | | | | | | | 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). llvm-svn: 181322
* [sanitizer] More renamed macros.Evgeniy Stepanov2013-03-191-2/+2
| | | | llvm-svn: 177401
* [sanitizer] Replace more platform checks with SANITIZER_ constants.Evgeniy Stepanov2013-03-191-0/+1
| | | | llvm-svn: 177400
* [sanitizer] Move GetTlsSize code from TSan to sanitizer_common.Evgeniy Stepanov2013-03-131-4/+0
| | | | llvm-svn: 176938
* [tsan] use our own GetEnv instead of libc's getenvKostya Serebryany2013-02-191-1/+1
| | | | llvm-svn: 175498
* tsan: use GORACE env for options for GoDmitry Vyukov2012-11-081-1/+1
| | | | llvm-svn: 167575
* tsan: lazily allocate shadow for GoDmitry Vyukov2012-11-061-24/+0
| | | | llvm-svn: 167464
* tsan: windows platform supportDmitry Vyukov2012-11-061-0/+82
llvm-svn: 167457
OpenPOWER on IntegriCloud