Skip to content

Commit

Permalink
[LoongArch64] Fix the bug within RtlpUnwindFunctionFull() when dealin…
Browse files Browse the repository at this point in the history
…g with the `end_c` unwind code. (dotnet#110347)
  • Loading branch information
LuckyXu-HF authored Dec 4, 2024
1 parent 65aa602 commit 72a1c2b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/coreclr/unwinder/loongarch64/unwinder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

#include "unwinder.h"

#define NOTHING

typedef struct _LOONGARCH64_KTRAP_FRAME {

//
Expand Down Expand Up @@ -975,13 +977,11 @@ Return Value:

//
// end_c (11100101): end of unwind code in current chained scope
// Continue unwinding parent scope.
//

else if (CurCode == 0xe5) {
if (AccumulatedSaveNexts != 0) {
return STATUS_UNWIND_INVALID_SEQUENCE;
}
goto finished;
NOTHING;
}

//
Expand Down

0 comments on commit 72a1c2b

Please sign in to comment.