[sanitizer] support toolchains that don't understand CFI directives

Summary: Support toolchains that don't understand CFI directives.

Reviewers: dvyukov

Reviewed By: dvyukov

CC: llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@196480 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] fix the ppc32 build (patch by Jakub Jelinek) 

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@196489 91177308-0d34-0410-b5e6-96231b3b80d8
[tsan] fix the include path that is broken in configure/make build but works in cmake build (PR18144). This is a quick fix. Will need to fix the configure/make build properly

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@196490 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] revert files which I accidentally commited in r196490

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@196491 91177308-0d34-0410-b5e6-96231b3b80d8
Revert r196490 and fix include paths in makefile-based build

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@196492 91177308-0d34-0410-b5e6-96231b3b80d8
[tsan] fix the old tsan Makefile to build the asm files with includes

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@196495 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] Introduce VReport and VPrintf macros and use them in sanitizer code.

Instead of "if (common_flags()->verbosity) Report(...)" we now have macros.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@196497 91177308-0d34-0410-b5e6-96231b3b80d8
Run TSan/MSan lit tests only on 64-bit platforms

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@196501 91177308-0d34-0410-b5e6-96231b3b80d8
PR16532: work around old GCC bug in interception_type_test.cc

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@196506 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] rewrite asan's stack frame layout, compiler-rt part

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@196569 91177308-0d34-0410-b5e6-96231b3b80d8
[msan] Allow strlen() (and similar functions) of shadow memory.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@196572 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] in SizedStackTest check the death string, also restrict one of the checks to 64-bit

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@196576 91177308-0d34-0410-b5e6-96231b3b80d8
Fix integer tests on platforms where uint64_t is 'unsigned long long'.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@196612 91177308-0d34-0410-b5e6-96231b3b80d8
[lsan] Make LSan ignore memory poisoned by ASan.

Summary:
No more (potenital) false negatives due to red zones or fake stack
frames.

Reviewers: kcc, samsonov

Reviewed By: samsonov

CC: llvm-commits, samsonov

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

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@196778 91177308-0d34-0410-b5e6-96231b3b80d8
PR17977: don't assume EOWNERDEAD is always defined

Summary: See details in http://llvm.org/bugs/show_bug.cgi?id=17977

Reviewers: dvyukov

Reviewed By: dvyukov

CC: glider, llvm-commits

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

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

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@196780 91177308-0d34-0410-b5e6-96231b3b80d8
ubsan: Fix typo in 'TypeCheck/vptr.cpp' test to resolve 32bit failure.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@196799 91177308-0d34-0410-b5e6-96231b3b80d8
Revert three patches which were committed without explicit contribution
by their authors.

This may break builds where others added code relying on these patches,
but please *do not* revert this commit. Instead, we will prepare patches
which fix the failures.

Reverts the following commits:
r168306: "[asan] support x32 mode in the fast stack unwinder. Patch by H.J. Lu"
r168356: "[asan] more support for powerpc, patch by Peter Bergner"
r196489: "[sanitizer] fix the ppc32 build (patch by Jakub Jelinek)"

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@196802 91177308-0d34-0410-b5e6-96231b3b80d8
Unbreak build by adding an implementation of PopStackFrames function.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@196809 91177308-0d34-0410-b5e6-96231b3b80d8
Revert a final patch that was committed without the author contributing
it to the LLVM project through the appropriate channels.

This reverts:
r195837: "[Sanitizer] Add rudimentary support for using libbacktrace in ..."

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