[PATCH] D11793: [compiler-rt] Add SourceLocations for float_cast_overflow data.

Filipe Cabecinhas via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 5 23:51:08 PDT 2015


filcab created this revision.
filcab added reviewers: samsonov, rsmith.
filcab added a subscriber: llvm-commits.

Compiler-rt part of http://reviews.llvm.org/D11757
I ended up making UBSan work with both the old version and the new
version of the float_cast_overflow data (instead of just erroring with
the previous version). The old version will try to symbolize its caller.

Now we compile the float_cast_overflow tests without -g, and make sure
we have the source file+line+column.

If you think I'm trying too hard to make sure we can still use both
versions, let me know.

http://reviews.llvm.org/D11793

Files:
  lib/ubsan/ubsan_handlers.cc
  lib/ubsan/ubsan_handlers.h
  test/ubsan/TestCases/Float/cast-overflow.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11793.31428.patch
Type: text/x-patch
Size: 6818 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150806/5535bbdd/attachment.bin>


More information about the llvm-commits mailing list