fix a gcc warning

llvm-svn: 256256
This commit is contained in:
Nico Weber 2015-12-22 17:22:25 +00:00
parent 5bdbef649b
commit 6341a79387
2 changed files with 3 additions and 2 deletions

View File

@ -141,7 +141,8 @@ static uintptr_t readEncodedPointer(const uint8_t** data, uint8_t encoding)
* throw through a C function compiled with -fexceptions.
*/
#if __USING_SJLJ_EXCEPTIONS__
// the setjump-longjump based exceptions personality routine has a different name
/* the setjump-longjump based exceptions personality routine has a
* different name */
COMPILER_RT_ABI _Unwind_Reason_Code
__gcc_personality_sj0(int version, _Unwind_Action actions,
uint64_t exceptionClass, struct _Unwind_Exception* exceptionObject,

View File

@ -128,6 +128,6 @@ uint32_t __inline __builtin_clzll(uint64_t value) {
#endif
#define __builtin_clzl __builtin_clzll
#endif // defined(_MSC_VER) && !defined(__clang__)
#endif /* defined(_MSC_VER) && !defined(__clang__) */
#endif /* INT_LIB_H */