summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/Utility/StopInfoMachException.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2012-02-21 18:40:07 +0000
committerGreg Clayton <gclayton@apple.com>2012-02-21 18:40:07 +0000
commit0c90ef479a8870ed8adb598cd7e70518960f0353 (patch)
treebc08dd05ff8e394a9f207f1cac32f03b0ff5bf5b /lldb/source/Plugins/Process/Utility/StopInfoMachException.cpp
parentff461fcf07688fafdf3b84dee11d84ac760fcf5d (diff)
downloadbcm5719-llvm-0c90ef479a8870ed8adb598cd7e70518960f0353.tar.gz
bcm5719-llvm-0c90ef479a8870ed8adb598cd7e70518960f0353.zip
Linux fix patch from Dmitry Vyukov.
llvm-svn: 151072
Diffstat (limited to 'lldb/source/Plugins/Process/Utility/StopInfoMachException.cpp')
-rw-r--r--lldb/source/Plugins/Process/Utility/StopInfoMachException.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Plugins/Process/Utility/StopInfoMachException.cpp b/lldb/source/Plugins/Process/Utility/StopInfoMachException.cpp
index 95f3633616c..95be8c51ad3 100644
--- a/lldb/source/Plugins/Process/Utility/StopInfoMachException.cpp
+++ b/lldb/source/Plugins/Process/Utility/StopInfoMachException.cpp
@@ -34,7 +34,7 @@ StopInfoMachException::GetDescription ()
{
ExecutionContext exe_ctx (m_thread.shared_from_this());
Target *target = exe_ctx.GetTargetPtr();
- const llvm::Triple::ArchType cpu = target ? target->GetArchitecture().GetMachine() : llvm::Triple::InvalidArch;
+ const llvm::Triple::ArchType cpu = target ? target->GetArchitecture().GetMachine() : llvm::Triple::UnknownArch;
const char *exc_desc = NULL;
const char *code_label = "code";
@@ -257,7 +257,7 @@ StopInfoMachException::CreateStopReasonWithMachException
{
ExecutionContext exe_ctx (thread.shared_from_this());
Target *target = exe_ctx.GetTargetPtr();
- const llvm::Triple::ArchType cpu = target ? target->GetArchitecture().GetMachine() : llvm::Triple::InvalidArch;
+ const llvm::Triple::ArchType cpu = target ? target->GetArchitecture().GetMachine() : llvm::Triple::UnknownArch;
switch (exc_type)
{
OpenPOWER on IntegriCloud