[cfe-dev] Locating the root cause of the error detected by UBSan
Roman Lebedev via cfe-dev
cfe-dev at lists.llvm.org
Mon Apr 8 00:38:14 PDT 2019
On Mon, Apr 8, 2019 at 10:30 AM Zhoulai Fu at Gmail via cfe-dev
<cfe-dev at lists.llvm.org> wrote:
> I am running a robotic application on Ubuntu16. The application is compiled with Clang's UndefinedBehavior sanitizer with an "-g" option. I got a brief error message which seemed to indicate a bug somewhere:
> runtime error: -nan is outside the range of representable values of type 'int'
> My guess is that the bug is from my application, not from the more mature QT. How could I determine which line in the source (which I can access) of the application that triggers this runtime error?
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
More information about the cfe-dev