Skip to content

Add support for ARM64 DIA SDK#16

Draft
nmoinvaz wants to merge 5 commits intodevfrom
arm64
Draft

Add support for ARM64 DIA SDK#16
nmoinvaz wants to merge 5 commits intodevfrom
arm64

Conversation

@nmoinvaz
Copy link
Copy Markdown

@nmoinvaz nmoinvaz commented Jul 9, 2025

@nmoinvaz nmoinvaz requested a review from sergio-nsk July 9, 2025 05:03
@nmoinvaz
Copy link
Copy Markdown
Author

nmoinvaz commented Jul 9, 2025

I think unit tests were broken a long time ago.

@nmoinvaz
Copy link
Copy Markdown
Author

nmoinvaz commented Jul 9, 2025

I have just commented out the bad unit test. I'm not sure what is going on there with arm 32-bit.

Comment on lines +283 to +288
DWORD unwind_rva;
#if defined(_M_ARM64) || defined(__aarch64__)
unwind_rva = funcs[i].UnwindData;
#else
unwind_rva = funcs[i].UnwindInfoAddress;
#endif
Copy link
Copy Markdown

@sergio-nsk sergio-nsk Jul 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would make a less change and unlikely conflicts with future upstream updates,

Suggested change
DWORD unwind_rva;
#if defined(_M_ARM64) || defined(__aarch64__)
unwind_rva = funcs[i].UnwindData;
#else
unwind_rva = funcs[i].UnwindInfoAddress;
#endif
#if defined(_M_ARM64) || defined(__aarch64__)
DWORD unwind_rva unwind_rva = funcs[i].UnwindData;
#else
DWORD unwind_rva unwind_rva = funcs[i].UnwindInfoAddress;
#endif

@nmoinvaz nmoinvaz marked this pull request as draft August 19, 2025 01:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants