mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-02 18:58:15 +00:00
bb0548a6ed
When compiling compiler-rt with -fsanitize=undefined and running testcases you end up with the following warning: UBSan: floatdisf.c:27:15: signed integer overflow: 9223372036854775807 - -1 cannot be represented in type 'di_int' (aka 'long long') This can be avoided by doing the subtraction in a matching unsigned variant of the type, given that the overflow is the expected result of the subtraction. The same kind of pattern exists in floatdidf.c This was found in an out of tree target. Reviewed By: phosek Differential Revision: https://reviews.llvm.org/D146135 |
||
---|---|---|
.. | ||
cmake | ||
docs | ||
include | ||
lib | ||
test | ||
tools | ||
unittests | ||
utils | ||
www | ||
.clang-tidy | ||
.gitignore | ||
CMakeLists.txt | ||
CODE_OWNERS.TXT | ||
CREDITS.TXT | ||
LICENSE.TXT | ||
README.txt |
Compiler-RT ================================ This directory and its subdirectories contain source code for the compiler support routines. Compiler-RT is open source software. You may freely distribute it under the terms of the license agreement found in LICENSE.txt. ================================