[UBSan] Make sure proper error summary is printed for -fsanitize=float-cast-overflow.
authorAlexey Samsonov <vonosmas@gmail.com>
Thu, 23 Apr 2015 01:08:31 +0000 (01:08 +0000)
committerAlexey Samsonov <vonosmas@gmail.com>
Thu, 23 Apr 2015 01:08:31 +0000 (01:08 +0000)
commit434984ef583edf64c13962fa092197410a950369
tree576e977040f5eb94ee2b057ac7883f3bf0473e8d
parent86e67f7ebc88aecfcc704cde920013a10def57f9
[UBSan] Make sure proper error summary is printed for -fsanitize=float-cast-overflow.

float-cast-overflow handler doesn't have source location provided by the
compiler, but we still have *some* source location if we have a
symbolizer.

llvm-svn: 235567
compiler-rt/lib/ubsan/ubsan_diag.cc
compiler-rt/test/ubsan/TestCases/Float/cast-overflow.cpp