[winpr,utils] fix undefined unwind symbols
on arm some reason codes are not defined.
This commit is contained in:
parent
0c0a5f4234
commit
1952cd0e66
1
.github/workflows/alt-architectures.yml
vendored
1
.github/workflows/alt-architectures.yml
vendored
@ -97,7 +97,6 @@ jobs:
|
||||
-DCMAKE_INSTALL_PREFIX=/tmp/ci-test \
|
||||
-DCMAKE_C_COMPILER=/usr/bin/clang \
|
||||
-DCMAKE_CXX_COMPILER=/usr/bin/clang++ \
|
||||
-DUSE_UNWIND=OFF \
|
||||
-DUSE_EXECINFO=OFF \
|
||||
-DWITH_SANITIZE_ADDRESS=OFF
|
||||
cmake --build ci-build --parallel $(nproc) --target install
|
||||
|
@ -70,15 +70,15 @@ static const char* unwind_reason_str(_Unwind_Reason_Code code)
|
||||
#else
|
||||
case _URC_NO_REASON:
|
||||
return "_URC_NO_REASON";
|
||||
#endif
|
||||
case _URC_FOREIGN_EXCEPTION_CAUGHT:
|
||||
return "_URC_FOREIGN_EXCEPTION_CAUGHT";
|
||||
case _URC_FATAL_PHASE2_ERROR:
|
||||
return "_URC_FATAL_PHASE2_ERROR";
|
||||
case _URC_FATAL_PHASE1_ERROR:
|
||||
return "_URC_FATAL_PHASE1_ERROR";
|
||||
case _URC_NORMAL_STOP:
|
||||
return "_URC_NORMAL_STOP";
|
||||
#endif
|
||||
case _URC_FOREIGN_EXCEPTION_CAUGHT:
|
||||
return "_URC_FOREIGN_EXCEPTION_CAUGHT";
|
||||
case _URC_END_OF_STACK:
|
||||
return "_URC_END_OF_STACK";
|
||||
case _URC_HANDLER_FOUND:
|
||||
|
Loading…
x
Reference in New Issue
Block a user