Fix missing __muloti4 function with UBSAN

llvm-svn: 369483
This commit is contained in:
Eric Fiselier 2019-08-21 00:16:33 +00:00
parent a6edef3563
commit 5b59295011
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@
#if !defined(_LIBCPP_HAS_NO_INT128)
extern "C" __attribute__((no_sanitize("undefined")))
extern "C" __attribute__((no_sanitize("undefined"))) _LIBCPP_FUNC_VIS
__int128_t __muloti4(__int128_t a, __int128_t b, int* overflow) {
const int N = (int)(sizeof(__int128_t) * CHAR_BIT);
const __int128_t MIN = (__int128_t)1 << (N - 1);