Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/coreclr/nativeaot/Runtime/arm/ExceptionHandling.S
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ NESTED_ENTRY RhpThrowImpl, _TEXT, NoHandler
str r4, [sp, #(rsp_offsetof_Context + OFFSETOF__PAL_LIMITED_CONTEXT__SP)]

mov r4, r0 // Save exception object
mov r5, r2 // Save ExKind
// r0 = GetThread()
INLINE_GETTHREAD

Expand All @@ -143,6 +144,7 @@ NESTED_ENTRY RhpThrowImpl, _TEXT, NoHandler
ldr r3, [r0, #OFFSETOF__Thread__m_ppvHijackedReturnAddressLocation]

// r4: exception object
// r5: ExKind
// r1: hijacked return address
// r0: pThread
// r3: hijacked return address location
Expand Down Expand Up @@ -180,7 +182,7 @@ LOCAL_LABEL(NotHiJacked):
str r3, [r1, #OFFSETOF__ExInfo__m_exception] // init the exception object to null
mov r3, #1
strb r3, [r1, #OFFSETOF__ExInfo__m_passNumber] // init to the first pass
strb r2, [r1, #OFFSETOF__ExInfo__m_kind] // ExKind (from r2)
strb r5, [r1, #OFFSETOF__ExInfo__m_kind] // ExKind
mov r3, #0xFFFFFFFF
str r3, [r1, #OFFSETOF__ExInfo__m_idxCurClause]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,6 @@ public static IEnumerable<object[]> Ctor_Async_TestData()
yield return new object[] { () => V2Methods.Bux(), MethodExceptionStrings["Bux"] };
}

[ActiveIssue("https://github.com/dotnet/runtime/issues/123979", typeof(PlatformDetection), nameof(PlatformDetection.IsArmProcess))]
[ConditionalTheory(typeof(PlatformDetection), nameof(PlatformDetection.IsRuntimeAsyncSupported))]
[MemberData(nameof(Ctor_Async_TestData))]
[MethodImpl(MethodImplOptions.NoOptimization | MethodImplOptions.NoInlining)]
Expand Down
Loading