[PATCH] [UBSan] Adding support of MIPS32

Sagar Thakur Sagar.Thakur at imgtec.com
Wed Sep 3 04:19:22 PDT 2014


Changed files:
sanitizer_stacktrace.cc: Considering the delay slot in MIPS32 PC should be subtracted by 8.
ubsan_handlers.cc: __ubsan_handle_float_cast_overflow should give callers PC to handleFloatCastOverflow to print the correct location. Else it prints the location of call site to be in ubsan_handlers.cc itself.
cast-overflow.cpp: Added support for big endian machines to cast-overflow test case.

http://reviews.llvm.org/D4881

Files:
  lib/sanitizer_common/sanitizer_stacktrace.cc
  lib/ubsan/ubsan_handlers.cc
  test/ubsan/TestCases/Float/cast-overflow.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4881.13195.patch
Type: text/x-patch
Size: 3003 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140903/2a0c9b95/attachment.bin>


More information about the llvm-commits mailing list