From ad7aa8147a44f9c6b8ee5572d5fd2f1591d64724 Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Tue, 6 Jan 2015 00:25:18 +0000 Subject: More fixes to ensure if we are asked to launch a x86_64h process on darwin, that darwin-debug knows what to do and how to handle it. llvm-svn: 225225 --- lldb/tools/darwin-debug/darwin-debug.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lldb/tools/darwin-debug/darwin-debug.cpp') diff --git a/lldb/tools/darwin-debug/darwin-debug.cpp b/lldb/tools/darwin-debug/darwin-debug.cpp index 8fb16bcdf4b..ca0a8d48328 100644 --- a/lldb/tools/darwin-debug/darwin-debug.cpp +++ b/lldb/tools/darwin-debug/darwin-debug.cpp @@ -208,6 +208,8 @@ int main (int argc, char *const *argv, char *const *envp, const char **apple) cpu_type = CPU_TYPE_I386; else if (streq (optarg, "x86_64")) cpu_type = CPU_TYPE_X86_64; + else if (streq (optarg, "x86_64h")) + cpu_type = 0; // Don't set CPU type when we have x86_64h else if (strstr (optarg, "arm") == optarg) cpu_type = CPU_TYPE_ARM; else -- cgit v1.2.3