[sanitizer] Never remove the last frame off the stack trace.

It can only make it worse.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@221520 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan] Fix zero_page_pc test for PowerPC

Summary:
In the Power architecture, all branch instructions ignore the 2 least
significant bits of the target address. Consequently if you branch to an
invalid address, the address reported along with the SIGSEGV will have
been rounded down to a multiple of 4. Tweak this test accordingly.

This may fix the test for ARM too, in which case we could remove
the XFAIL, but I have no way of testing that.

Reviewers: kcc, willschm, glider, samsonov

Reviewed By: samsonov

Subscribers: llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@221542 91177308-0d34-0410-b5e6-96231b3b80d8
PPC fix works for ARM, too

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@221551 91177308-0d34-0410-b5e6-96231b3b80d8
Use @rpath for ASan dylib in Makefiles

Reviewed at http://reviews.llvm.org/D6176



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@221556 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan] Fix stack-overflow test for PowerPC

Summary:
Tweak the asan stack overflow heuristics to cope with PowerPC64 redzones,
which are larger than on x86-64: 288 bytes for big-endian and 512 bytes
for little-endian.

Reviewers: kcc, willschm, samsonov, eugenis

Reviewed By: samsonov, eugenis

Subscribers: llvm-commits

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

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