[Lldb-commits] [lldb] r225193 - Make sure x7 and x8 are treated as argument registers for arm64.

Greg Clayton gclayton at apple.com
Mon Jan 5 11:23:34 PST 2015


Author: gclayton
Date: Mon Jan  5 13:23:33 2015
New Revision: 225193

URL: http://llvm.org/viewvc/llvm-project?rev=225193&view=rev
Log:
Make sure x7 and x8 are treated as argument registers for arm64.


Modified:
    lldb/trunk/tools/debugserver/source/MacOSX/arm64/DNBArchImplARM64.cpp

Modified: lldb/trunk/tools/debugserver/source/MacOSX/arm64/DNBArchImplARM64.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/debugserver/source/MacOSX/arm64/DNBArchImplARM64.cpp?rev=225193&r1=225192&r2=225193&view=diff
==============================================================================
--- lldb/trunk/tools/debugserver/source/MacOSX/arm64/DNBArchImplARM64.cpp (original)
+++ lldb/trunk/tools/debugserver/source/MacOSX/arm64/DNBArchImplARM64.cpp Mon Jan  5 13:23:33 2015
@@ -1376,8 +1376,8 @@ DNBArchMachARM64::g_gpr_registers[] =
     DEFINE_GPR_IDX ( 3,  x3, "arg4", GENERIC_REGNUM_ARG4  ),
     DEFINE_GPR_IDX ( 4,  x4, "arg5", GENERIC_REGNUM_ARG5  ),
     DEFINE_GPR_IDX ( 5,  x5, "arg6", GENERIC_REGNUM_ARG6  ),
-    DEFINE_GPR_IDX ( 6,  x6,   NULL, INVALID_NUB_REGNUM   ),
-    DEFINE_GPR_IDX ( 7,  x7,   NULL, INVALID_NUB_REGNUM   ),
+    DEFINE_GPR_IDX ( 6,  x6, "arg7", GENERIC_REGNUM_ARG7  ),
+    DEFINE_GPR_IDX ( 7,  x7, "arg8", GENERIC_REGNUM_ARG8  ),
     DEFINE_GPR_IDX ( 8,  x8,   NULL, INVALID_NUB_REGNUM   ),
     DEFINE_GPR_IDX ( 9,  x9,   NULL, INVALID_NUB_REGNUM   ),
     DEFINE_GPR_IDX (10, x10,   NULL, INVALID_NUB_REGNUM   ),





More information about the lldb-commits mailing list