diff options
| author | Greg Clayton <gclayton@apple.com> | 2015-01-06 00:25:18 +0000 |
|---|---|---|
| committer | Greg Clayton <gclayton@apple.com> | 2015-01-06 00:25:18 +0000 |
| commit | ad7aa8147a44f9c6b8ee5572d5fd2f1591d64724 (patch) | |
| tree | 439f881e4c70ae53e8455921f79cdfaf602988c3 /lldb/tools/darwin-debug/darwin-debug.cpp | |
| parent | 62f24e97bd6a99230cc9c7b3b324b02c72219e1b (diff) | |
| download | bcm5719-llvm-ad7aa8147a44f9c6b8ee5572d5fd2f1591d64724.tar.gz bcm5719-llvm-ad7aa8147a44f9c6b8ee5572d5fd2f1591d64724.zip | |
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
Diffstat (limited to 'lldb/tools/darwin-debug/darwin-debug.cpp')
| -rw-r--r-- | lldb/tools/darwin-debug/darwin-debug.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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 |

