Skip to content

Commit 72a1c2b

Browse files
authored
[LoongArch64] Fix the bug within RtlpUnwindFunctionFull() when dealing with the end_c unwind code. (#110347)
1 parent 65aa602 commit 72a1c2b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/coreclr/unwinder/loongarch64/unwinder.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99

1010
#include "unwinder.h"
1111

12+
#define NOTHING
13+
1214
typedef struct _LOONGARCH64_KTRAP_FRAME {
1315

1416
//
@@ -975,13 +977,11 @@ Return Value:
975977

976978
//
977979
// end_c (11100101): end of unwind code in current chained scope
980+
// Continue unwinding parent scope.
978981
//
979982

980983
else if (CurCode == 0xe5) {
981-
if (AccumulatedSaveNexts != 0) {
982-
return STATUS_UNWIND_INVALID_SEQUENCE;
983-
}
984-
goto finished;
984+
NOTHING;
985985
}
986986

987987
//

0 commit comments

Comments
 (0)