[asan] Do all calls to __asan_report_* through PLT.

This matters when runtime is built as a shared library. Even though calling
code is itself part of the same library, these symbols are public and can
(theoretically) be interposed.

It might be better to declare hidden aliases for asan_report_* and call them
directly, but
  (a) they are (noreturn), so performance does not matter, and
  (b) it may be potentially less portable.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201764 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] Changes to asm instrumentation must be done through the generator script.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201766 91177308-0d34-0410-b5e6-96231b3b80d8
[CMake] lit tests shouldn't depend on runtimes in standalone build

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201771 91177308-0d34-0410-b5e6-96231b3b80d8
[msan] Remove stubs for non-instrumented code from msan interface header.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201777 91177308-0d34-0410-b5e6-96231b3b80d8
[CMake] break dependency between unit tests and runtimes in standalone build

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201778 91177308-0d34-0410-b5e6-96231b3b80d8
Move config for sanitizer_common tests under test/ for consistency

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201779 91177308-0d34-0410-b5e6-96231b3b80d8
[CMake] Introduce check-all command for standalone compiler-rt build

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201780 91177308-0d34-0410-b5e6-96231b3b80d8
[FreeBSD] Enable building a few runtime libraries on FreeBSD.

Patch by Viktor Kutuzov!


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201783 91177308-0d34-0410-b5e6-96231b3b80d8
Add an environment variable to override the default profile output file.

Also rename the default output file from "pgo-data" to "default.profdata".
The ".profdata" suffix is consistent with the name of the new llvm-profdata
tool.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201808 91177308-0d34-0410-b5e6-96231b3b80d8
Darwin: use the compiler-provided linker

When actually compiling we use clang for the final .dylib creation stage, so we
should ask it what linker it'll use when detecting support for our
architectures.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201845 91177308-0d34-0410-b5e6-96231b3b80d8
[tsan] add coarse-grained lock around the DeadlockDetector. We can do better than that, but that's a start.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201861 91177308-0d34-0410-b5e6-96231b3b80d8
Add Matt Thomas and myself.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201908 91177308-0d34-0410-b5e6-96231b3b80d8
Introduce CRT_HAS_128BIT, currently for all __LP64__ platforms.
Use it to enable the various functions for TI mode.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201909 91177308-0d34-0410-b5e6-96231b3b80d8
Replace __FUNCTION__ with __func__, the latter being standard C99/C++11.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201910 91177308-0d34-0410-b5e6-96231b3b80d8
Revert "Replace __FUNCTION__ with __func__, the latter being standard C99/C++11."

This reverts commit r201910.

While __func__ may be standard in C++11, it was only recently added to
MSVC in 2013 CTP, and LLVM supports MSVC 2012.  __FUNCTION__ may not be
standard, but it's *very* portable.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201916 91177308-0d34-0410-b5e6-96231b3b80d8
Merge http://llvm.org/git/compiler-rt into develop_35