[cfe-dev] strange location information of error given by ubsan.

Dingbao Xie xiedingbao at gmail.com
Mon Jul 27 11:42:53 PDT 2015


Hi,
I'm attempting to find undefined behavior in a software using ubsan, but
got a strange error information:
/home/software/llvm-3.6.2.src/projects/compiler-rt/lib/ubsan/ubsan_handlers.cc:374:3:
runtime error: value 3.33333e+21 is outside the range of representable
values of type 'int'

I'm confused by the location, should it point to a file in the testing
software ?
-- 
Dingbao Xie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150727/2d349822/attachment.html>


More information about the cfe-dev mailing list