Provide add and sub for IEEE quad. From GuanHong Liu.

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


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@211312 91177308-0d34-0410-b5e6-96231b3b80d8
Provide mul for IEEE quad. From GuanHong Liu.

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


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@211313 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] when reporting an ODR violation, also print the stack traces where the globals have been registered (thus show the name of shared library or exe to which the global belongs). The reports become a bit too verbose but I do not see any *simple* way to make them more compact. This should be especially helpful when the ODR happens because the same .cc file is used twice in the project in differend DSOs

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@211343 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: remove unused header include



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@211385 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: remove unused header include


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@211386 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: remove unused header include


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@211389 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: fix freebsd build
freebsd does not have /proc/self/environ



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@211417 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: port to freebsd


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@211418 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: add Go build script for freebsd


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@211419 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: fix windows build script


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@211422 91177308-0d34-0410-b5e6-96231b3b80d8
builtins: assembly routines are not static

Storage Class 3 is static storage.  These symbols need to be marked as external
(storage class 2) so that they can be referenced.  Note that this external is
not the same as ELF "external" visibility, which is indicated by DLL Storage
Class (i.e. __declspec(dllexport) or __declspec(dllimport)).

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@211428 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: fix code formatting



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@211429 91177308-0d34-0410-b5e6-96231b3b80d8
[msan] Print stats even on successful run with atexit=1.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@211574 91177308-0d34-0410-b5e6-96231b3b80d8
[msan] Fix origin copying.

Conditions for the first and the last origin value in range were wrong.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@211585 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] adding support of 32-bit address sanitizer for MIPS

Summary: The patch supports both the clang cross-compiler and native compiler

Patch by Kumar Sukhani <Kumar.Sukhani@imgtec.com>

Test Plan:
Kumar had the following asan test results when compiled on a MIPS board:

  Expected Passes    : 96
  Expected Failures  : 2
  Unsupported Tests  : 84
  Unexpected Passes  : 4
  Unexpected Failures: 19

The list of unexpected failures can be found in the review.

Reviewers: kcc, petarj, dsanders

Reviewed By: kcc

Subscribers: farazs, kcc, llvm-commits

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


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@211587 91177308-0d34-0410-b5e6-96231b3b80d8
Remove ARM XFAIL from passing test

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@211608 91177308-0d34-0410-b5e6-96231b3b80d8
[msan] Fix false positive on dynamic tls.

Use existing DTLS code in sanitizer_tls_get_addr.{h,cc} to unpoison DTLS
blocks both on allocation and deallocation.

https://code.google.com/p/memory-sanitizer/issues/detail?id=44


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@211683 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] Fix build on platforms where dtls support is disabled.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@211684 91177308-0d34-0410-b5e6-96231b3b80d8
[msan] Fix bad interaction between with-calls mode and chained origin tracking.

Origin history should only be recorded for uninitialized values, because it is
meaningless otherwise. This change moves __msan_chain_origin to the runtime
library side and makes it conditional on the corresponding shadow value.

Previous code was correct, but _very_ inefficient.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@211700 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan] When iterating over segments on OSX, treat the segments' initial
protection level as their current protection level.
This fixes the UNIMPLEMENTED check that started to fire on OSX after r210649.


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