llvm-project/compiler-rt/lib/tsan/dd
Chris Bieneman d160260681 [CMake] merge add_compiler_rt_runtime and add_compiler_rt_darwin_runtime into a single function
Summary: This refactoring moves much of the Apple-specific behavior into a function in AddCompilerRT. The next cleanup patch will remove more of the if(APPLE) checks in the outlying CMakeLists.

This patch adds a bunch of new functionality to add_compiler_rt_runtime so that the target names don't need to be reconstructed outside the call. It also updates some of the call sites to exercise the new functionality, but does not update all uses fully. Subsequent patches will further update call sites and move to using the new features.

Reviewers: filcab, bogner, kubabrecka, zaks.anna, glider, samsonov

Subscribers: beanz, rengolin, llvm-commits

Differential Revision: http://reviews.llvm.org/D12292

llvm-svn: 245970
2015-08-25 19:53:09 +00:00
..
CMakeLists.txt [CMake] merge add_compiler_rt_runtime and add_compiler_rt_darwin_runtime into a single function 2015-08-25 19:53:09 +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 [Sanitizer] Change InitializeFlags() signatures. NFC. 2015-02-12 00:36:42 +00:00
dd_rtl.h Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:44:24 +00:00