Fix attribute placement WRT extern C

llvm-svn: 337999
This commit is contained in:
Eric Fiselier 2018-07-26 03:36:37 +00:00
parent 982bb884ff
commit f74c5461d8
1 changed files with 2 additions and 2 deletions

View File

@ -19,8 +19,8 @@
#ifndef _LIBCPP_HAS_NO_INT128
__attribute__((no_sanitize("undefined"))) extern "C" __int128_t
__muloti4(__int128_t a, __int128_t b, int* overflow) {
extern "C" __attribute__((no_sanitize("undefined")))
__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);
const __int128_t MAX = ~MIN;