Closed alexbichkov closed 9 months ago
Hi @alexbichkov, I don't have a windows arm machine to test with however when adding cpptrace to vcpkg I was able to get it working for ARM. The StackWalk64 unwind code does also have specific handling for arm: https://github.com/jeremy-rifkin/cpptrace/blob/448c325d2e9d1c6e28749202c1dca7ec546cca6a/src/unwind/unwind_with_dbghelp.cpp#L83-L93
I'm a bit confused by the error message you provided though, as that is from backward-cpp which is a different library.
Surely it's a different library and I got confused. Sorry to bother you.
All good, take care
Hi @jeremy-rifkin. I stumbled upon this error, and I wonder whether your library supports Windows-on-arm yet?
backward-cpp\backward.hpp(1168,29): error C2039: 'Eip': is not a member of '_CONTEXT'
backward-cpp\backward.hpp(1169,32): error C2039: 'Esp': is not a member of '_CONTEXT'
backward-cpp\backward.hpp(1170,32): error C2039: 'Ebp': is not a member of '_CONTEXT'
see declaration of '_CONTEXT'
And this is CONTEXT object, defined in winnt.h for ARM64_NT: typedef struct DECLSPEC_ALIGN(16) DECLSPEC_NOINITALL _ARM64_NT_CONTEXT { // // Control flags. //