Disable XFAIL on ARM since the x86_64 specific code is isolated

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@221347 91177308-0d34-0410-b5e6-96231b3b80d8
When run on a ppc64le based platform, the check-sanitizer build looks for
objects with the powerpc64le name. i.e. asan-powerpc64le.a
This change allows those objects to be built.

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




git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@221356 91177308-0d34-0410-b5e6-96231b3b80d8
[dfsan] Modify build-libc-list.py to filter out local functions in generated
ABI list.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@221361 91177308-0d34-0410-b5e6-96231b3b80d8
[dfsan] Upgrade ABI list to Ubuntu 14.04.

This incorporates some of the newer functions used by (e.g.) the Go runtime.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@221362 91177308-0d34-0410-b5e6-96231b3b80d8
[dfsan] Add libgo functions to ABI list.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@221363 91177308-0d34-0410-b5e6-96231b3b80d8
[dfsan] Add runtime function for aborting on indirect calls to
uninstrumented vararg functions.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@221364 91177308-0d34-0410-b5e6-96231b3b80d8
Extend Mac OS versions to Yosemite

This also fixes the test/asan/TestCases/Darwin/malloc_zone-protected.cc test failure on OS X 10.10.

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



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@221379 91177308-0d34-0410-b5e6-96231b3b80d8
Extend the OS X pthread_get_stacksize_np workaround to 10.10

Fixes a failing ASan testcase (TestCases/stack-use-after-return.cc) on OS X 10.10.

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



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@221380 91177308-0d34-0410-b5e6-96231b3b80d8
Fix failing allow_user_segv.cc test on OS X 10.10

The current ASan testcase Posix/allow_user_segv.cc expects SIGBUS to be triggered on 32-bit Darwin. This has apparently changed on 10.10 to trigger SIGSEGV instead, just as on 64-bit. Let's just install handlers for both SIGSEGV and SIGBUS instead of #ifdef'ing.

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



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@221381 91177308-0d34-0410-b5e6-96231b3b80d8
[Sanitizer] Introduce generic stack frame rendering machinery

Summary:
This commit introduces function __sanitizer::RenderFrame()
that allows to render the contents of AddressInfo (essentially, symbolized stack frame)
using the custom format string. This function can be used to
implement stack frame formatting for both ThreadSanitizer and
generic StackTrace::Print(), used in another places. This paves the
way towards allowing user to control the format of stack frames,
obtaining them in any format he desires, and/or enforcing the consistent
output from all sanitizers.

Test Plan: compiler-rt test suite

Reviewers: kcc

Reviewed By: kcc

Subscribers: llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@221409 91177308-0d34-0410-b5e6-96231b3b80d8
UBSan: Teach isDerivedFromAtOffset and findBaseAtOffset about vbases

When the __virtual_mask is set, __offset_flags >> __offset_shift yields
an offset into the vtable.  Dereferencing this vtable slot gets us the
vbase offset.

Adjust a test case to verify that this, in fact, works.

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

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