From 62a21044bd86a715af5a0242015fa4488930ab9f Mon Sep 17 00:00:00 2001 From: cs1111 Date: Thu, 19 Jun 2025 11:10:36 +0800 Subject: [PATCH] feature:adapt ILL_ILLPACCFI Signed-off-by: cs1111 Change-Id: I0b291da7532da2bef4fc1703cc86dd1f6b5cb0a7 --- common/dfxutil/dfx_signal.cpp | 2 ++ test/unittest/unwind/signal_test.cpp | 1 + 2 files changed, 3 insertions(+) diff --git a/common/dfxutil/dfx_signal.cpp b/common/dfxutil/dfx_signal.cpp index 233365ea0..8aab10e69 100644 --- a/common/dfxutil/dfx_signal.cpp +++ b/common/dfxutil/dfx_signal.cpp @@ -166,6 +166,8 @@ std::string DfxSignal::FormatSIGILLCodeName(const int32_t signalCode) return "ILL_COPROC"; case ILL_BADSTK: return "ILL_BADSTK"; + case ILL_ILLPACCFI: + return "ILL_ILLPACCFI"; default: return FormatCommonSignalCodeName(signalCode); } diff --git a/test/unittest/unwind/signal_test.cpp b/test/unittest/unwind/signal_test.cpp index 937d58067..f27893ff8 100644 --- a/test/unittest/unwind/signal_test.cpp +++ b/test/unittest/unwind/signal_test.cpp @@ -227,6 +227,7 @@ std::map illCode = { { ILL_PRVREG, string("ILL_PRVREG") }, { ILL_COPROC, string("ILL_COPROC") }, { ILL_BADSTK, string("ILL_BADSTK") }, + { ILL_ILLPACCFI, string("ILL_ILLPACCFI") }, { SI_USER, string("SI_USER") }, }; std::map fpeCode = { -- Gitee