update clang headers to 7.0.0rc2

This commit is contained in:
Andrew Kelley 2018-08-25 22:14:41 -04:00
parent 20810e0a79
commit cce14f92fc
2 changed files with 4 additions and 14 deletions

View File

@ -863,20 +863,6 @@ __nop(void) {
__asm__ volatile ("nop");
}
#endif
#if defined(__x86_64__)
static __inline__ unsigned __int64 __DEFAULT_FN_ATTRS
__shiftleft128(unsigned __int64 __l, unsigned __int64 __h, unsigned char __d) {
unsigned __int128 __val = ((unsigned __int128)__h << 64) | __l;
unsigned __int128 __res = __val << (__d & 63);
return (unsigned __int64)(__res >> 64);
}
static __inline__ unsigned __int64 __DEFAULT_FN_ATTRS
__shiftright128(unsigned __int64 __l, unsigned __int64 __h, unsigned char __d) {
unsigned __int128 __val = ((unsigned __int128)__h << 64) | __l;
unsigned __int128 __res = __val >> (__d & 63);
return (unsigned __int64)__res;
}
#endif
/*----------------------------------------------------------------------------*\
|* Privileged intrinsics

View File

@ -154,8 +154,12 @@ struct _Unwind_Control_Block {
struct _Unwind_Exception {
_Unwind_Exception_Class exception_class;
_Unwind_Exception_Cleanup_Fn exception_cleanup;
#if !defined (__USING_SJLJ_EXCEPTIONS__) && defined (__SEH__)
_Unwind_Word private_[6];
#else
_Unwind_Word private_1;
_Unwind_Word private_2;
#endif
/* The Itanium ABI requires that _Unwind_Exception objects are "double-word
* aligned". GCC has interpreted this to mean "use the maximum useful
* alignment for the target"; so do we. */