forked from OSchip/llvm-project
Fix compilation of compiler_rt against libunwind.
libunwind defines _Unwind_GetLanguageSpecificData as returning long instead of (uint8_t *). llvm-svn: 226167
This commit is contained in:
parent
df3ed1c9d6
commit
fa1d9f4860
|
@ -159,7 +159,7 @@ __gcc_personality_v0(int version, _Unwind_Action actions,
|
|||
return _URC_CONTINUE_UNWIND;
|
||||
|
||||
/* There is nothing to do if there is no LSDA for this frame. */
|
||||
const uint8_t* lsda = _Unwind_GetLanguageSpecificData(context);
|
||||
const uint8_t* lsda = (uint8_t*)_Unwind_GetLanguageSpecificData(context);
|
||||
if ( lsda == (uint8_t*) 0 )
|
||||
return _URC_CONTINUE_UNWIND;
|
||||
|
||||
|
|
Loading…
Reference in New Issue