[UBSan] Adding support of MIPS32

Changed files: 
config-ix.cmake: Enabled UBSan for MIPS32
sanitizer_stacktrace.cc: Program counter for MIPS32 is four byte aligned
and a delay slot so subtracted PC by 8 for getting call site address.
cast-overflow.cpp: Added big endian support for this test case.

Patch by Sagar Thakur.

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


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@218519 91177308-0d34-0410-b5e6-96231b3b80d8
[compiler-rt] recommit of r218481: ASan debugging API for report info extraction and locating addresses

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

Fixed a test case failure on 32-bit Linux, I did right shift on intptr_t, instead it should have been uintptr_t.



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@218538 91177308-0d34-0410-b5e6-96231b3b80d8
Effectively revert r217284 on Darwin due to issues with -gmlt there

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@218545 91177308-0d34-0410-b5e6-96231b3b80d8
Merge branch 'master', remote-tracking branch 'trunk/master'