Add instrastructure for IEEE quad precision.
Based on patch from GuanHong Liu.

Differential Revision: http://llvm-reviews.chandlerc.com/D2796


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@204999 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] Intercept getpwent/getgrent.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@205000 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] Intercept rand_r.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@205001 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] Intercept setpwent/endpwent.

It's hard to write a reliable test for this code because they
work with unpredictable memory locations. But this change should
fix current failures in getpwent() tests on the sanitizer bots.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@205002 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] Intercept fgetpwent / fgetgrent.

These interceptors require deep unpoisoning of return values.
While at it, we do the same for all other pw/gr interceptors to
reduce dependency on libc implementation details.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@205004 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] Fix Mac build.


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