[libunwind] Add SystemZ support
Add support for the SystemZ (s390x) architecture to libunwind.
Support should be feature-complete with the exception of
unwinding from signal handlers (to be added later).
Reviewed by: MaskRay
Differential Revision: https://reviews.llvm.org/D124248
NOKEYCHECK=True
GitOrigin-RevId: 364c5023d2ce1617c706b185892ddfaa2fd4d166
diff --git a/src/libunwind.cpp b/src/libunwind.cpp
index 21aa426..b8b41ff 100644
--- a/src/libunwind.cpp
+++ b/src/libunwind.cpp
@@ -75,6 +75,8 @@
# define REGISTER_KIND Registers_riscv
#elif defined(__ve__)
# define REGISTER_KIND Registers_ve
+#elif defined(__s390x__)
+# define REGISTER_KIND Registers_s390x
#else
# error Architecture not supported
#endif