llvm-project/compiler-rt/lib/tsan/dd
Alexey Samsonov c426c337ed Revert "Revert r224736: "[Sanitizer] Make CommonFlags immutable after initialization.""
Fix test failures by introducing CommonFlags::CopyFrom() to make sure
compiler doesn't insert memcpy() calls into runtime code.

Original commit message:
Protect CommonFlags singleton by adding const qualifier to
common_flags() accessor. The only ways to modify the flags are
SetCommonFlagsDefaults(), ParseCommonFlagsFromString() and
OverrideCommonFlags() functions, which are only supposed to be
called during initialization.

llvm-svn: 225088
2015-01-02 21:28:37 +00:00
..
CMakeLists.txt [CMake] Make sure dd is built as a part of compiler-rt. 2014-12-10 02:14:15 +00:00
dd_interceptors.cc tsan: use attribute instead of compiler flag for tls-model=initial-exec as asked in comments for r203111 2014-03-19 13:24:52 +00:00
dd_rtl.cc Revert "Revert r224736: "[Sanitizer] Make CommonFlags immutable after initialization."" 2015-01-02 21:28:37 +00:00
dd_rtl.h [DD] Don't store the second copy of CommonFlags inside DDFlags. 2014-12-10 02:30:04 +00:00