hanchenye-llvm-project/compiler-rt/lib
Dmitry Vyukov 8a9d23bf53 tsan: don't initialize trace header in release mode
We are going to use only a small part of the trace with the default
value of history_size. However, the constructor writes to the whole trace.
It writes mostly zeros, so freshly mmaped memory will do.
The only non-zero field if mutex type used for debugging.

Reduces per-goroutine overhead by 8K.

https://code.google.com/p/thread-sanitizer/issues/detail?id=89

llvm-svn: 229127
2015-02-13 17:39:03 +00:00
..
BlocksRuntime Move tests for BlocksRuntime and builtins to corresponding directories under test/ 2014-02-14 09:47:31 +00:00
asan [Sanitizer] Change InitializeFlags() signatures. NFC. 2015-02-12 00:36:42 +00:00
builtins [mips] Add __clear_cache() definition for non-Android systems 2015-02-10 23:36:19 +00:00
dfsan [Sanitizer] Change InitializeFlags() signatures. NFC. 2015-02-12 00:36:42 +00:00
interception [sanitizer] Android build cleanup. 2014-09-29 13:18:55 +00:00
lsan [msan] Better use-after-free reports. 2015-01-22 13:33:16 +00:00
msan [Sanitizer] Change InitializeFlags() signatures. NFC. 2015-02-12 00:36:42 +00:00
profile InstrProf: Optionally print an error when emitting profile data fails 2015-01-16 20:10:56 +00:00
sanitizer_common [Sanitizer] Add "final" specifier to FlagHandlerBase::Parse overrides. NFC. 2015-02-12 00:36:39 +00:00
tsan tsan: don't initialize trace header in release mode 2015-02-13 17:39:03 +00:00
ubsan [UBSan] Allow UBSan location to store frames returned by symbolizer. 2015-02-11 19:45:07 +00:00
CMakeLists.txt [msan] Remove MSanDR and supporting code. 2014-11-18 10:33:15 +00:00
Makefile.mk Move original compiler-rt functions (libgcc replacement) to lib/builtins directory 2014-02-14 09:20:33 +00:00