Skip to content

Commit 1ecc274

Browse files
committed
The signature doesn't differ on arm, contrary to the docs
1 parent 91135df commit 1ecc274

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/unwind/unwind_with_rtlvirtualunwind.cpp

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ namespace detail {
5757
// Same adjustment as StackWalk64
5858
trace.push_back(to_frame_ptr(context_pc(context)) - 1);
5959
}
60-
#if defined(_M_X64) || defined(__x86_64__)
6160
PVOID handler_data;
6261
DWORD64 establisher_frame;
6362
RtlVirtualUnwind(
@@ -70,19 +69,6 @@ namespace detail {
7069
&establisher_frame,
7170
NULL
7271
);
73-
#elif defined(_M_ARM64) || defined(__aarch64__)
74-
BOOLEAN in_function;
75-
FRAME_POINTERS establisher_frame;
76-
RtlVirtualUnwind(
77-
image_base,
78-
context_pc(context),
79-
function_entry,
80-
&context,
81-
&in_function,
82-
&establisher_frame,
83-
NULL
84-
);
85-
#endif
8672
if(context_pc(context) == 0) {
8773
break;
8874
}

0 commit comments

Comments
 (0)