[sanitizer] Implement wait4 and waitpid syscall hooks.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179592 91177308-0d34-0410-b5e6-96231b3b80d8
[msan] Fix gcc build of msan_test.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179594 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] Fix spelling in asan_rtl.cc Test commit.

Reviewers: kcc, glider, samsonov

Reviewed By: glider

CC: llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179595 91177308-0d34-0410-b5e6-96231b3b80d8
Wrap macro invocations in braces to supress 'suggest braces around empty body in an ‘if’ statement' warning.

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