Windows on ARM64 (aarch64-w64-mingw32) support
I tried to build dbus 1.15.8 natively on Windows on ARM64 (aarch64-w64-mingw32) using LLVM+MinGW-w64 and noticed building dbus/dbus-backtrace-win.c failed because this platform was not supported yet.
I was able to build after the patch below, but I'm not a 100% sure it is accurate for this platform as the sf.Addr* lines are just based on educated guesses from my part.
patch -ulbf dbus/dbus-backtrace-win.c << EOF
@@ -113,2 +113,10 @@
sf.AddrStack.Mode = AddrModeFlat;
+#elif defined(_M_ARM64)
+ dwImageType = IMAGE_FILE_MACHINE_ARM64;
+ sf.AddrPC.Offset = context.Pc;
+ sf.AddrPC.Mode = AddrModeFlat;
+ sf.AddrFrame.Offset = context.Sp;
+ sf.AddrFrame.Mode = AddrModeFlat;
+ sf.AddrStack.Offset = context.Sp;
+ sf.AddrStack.Mode = AddrModeFlat;
#else
EOF