[TSan] Replace several Printf() calls with Report() to ease debugging.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@205175 91177308-0d34-0410-b5e6-96231b3b80d8
[TSan] Follow-up for r205175: typo fix in the test.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@205176 91177308-0d34-0410-b5e6-96231b3b80d8
[CMake] Rename add_compiler_rt_static_runtime to add_compiler_rt_runtime.

Soon there will be an option to build compiler-rt parts as shared libraries
on Linux. Extracted from http://llvm-reviews.chandlerc.com/D3042
by Yuri Gribov.



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@205183 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] Test that we can compile C++ code on the target platform.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@205184 91177308-0d34-0410-b5e6-96231b3b80d8
[msan] Remove an extra top frame from track-origins=2 reports.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@205192 91177308-0d34-0410-b5e6-96231b3b80d8
InstrProf: Add simple compiler-rt test

Add the test infrastructure for testing lib/profile and a single test.
This initial commit only enables the tests on Darwin, but they'll be
enabled on Linux soon after.

<rdar://problem/16458307>

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@205256 91177308-0d34-0410-b5e6-96231b3b80d8
InstrProf: lit.cfg magic for running tests from source

Implement magic in compiler-rt to enable llvm-lit to be invoked on the
source tree in lib/profile.  This relies on a paired commit in the llvm
tree that exposes a new built-in parameter.

<rdar://problem/16458307>

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@205263 91177308-0d34-0410-b5e6-96231b3b80d8