summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Platform/MacOSX/PlatformRemoteAppleBridge.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Plugins/Platform/MacOSX/PlatformRemoteAppleBridge.cpp')
-rw-r--r--lldb/source/Plugins/Platform/MacOSX/PlatformRemoteAppleBridge.cpp15
1 files changed, 7 insertions, 8 deletions
diff --git a/lldb/source/Plugins/Platform/MacOSX/PlatformRemoteAppleBridge.cpp b/lldb/source/Plugins/Platform/MacOSX/PlatformRemoteAppleBridge.cpp
index 8b45a867d85..ca50ea2863b 100644
--- a/lldb/source/Plugins/Platform/MacOSX/PlatformRemoteAppleBridge.cpp
+++ b/lldb/source/Plugins/Platform/MacOSX/PlatformRemoteAppleBridge.cpp
@@ -68,8 +68,8 @@ PlatformSP PlatformRemoteAppleBridge::CreateInstance(bool force,
const char *triple_cstr =
arch ? arch->GetTriple().getTriple().c_str() : "<null>";
- log->Printf("PlatformRemoteAppleBridge::%s(force=%s, arch={%s,%s})",
- __FUNCTION__, force ? "true" : "false", arch_name, triple_cstr);
+ LLDB_LOGF(log, "PlatformRemoteAppleBridge::%s(force=%s, arch={%s,%s})",
+ __FUNCTION__, force ? "true" : "false", arch_name, triple_cstr);
}
bool create = force;
@@ -112,16 +112,15 @@ PlatformSP PlatformRemoteAppleBridge::CreateInstance(bool force,
}
if (create) {
- if (log)
- log->Printf("PlatformRemoteAppleBridge::%s() creating platform",
- __FUNCTION__);
+ LLDB_LOGF(log, "PlatformRemoteAppleBridge::%s() creating platform",
+ __FUNCTION__);
return lldb::PlatformSP(new PlatformRemoteAppleBridge());
}
- if (log)
- log->Printf("PlatformRemoteAppleBridge::%s() aborting creation of platform",
- __FUNCTION__);
+ LLDB_LOGF(log,
+ "PlatformRemoteAppleBridge::%s() aborting creation of platform",
+ __FUNCTION__);
return lldb::PlatformSP();
}
OpenPOWER on IntegriCloud