diff options
Diffstat (limited to 'lldb/source/Plugins/Platform/OpenBSD/PlatformOpenBSD.cpp')
| -rw-r--r-- | lldb/source/Plugins/Platform/OpenBSD/PlatformOpenBSD.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lldb/source/Plugins/Platform/OpenBSD/PlatformOpenBSD.cpp b/lldb/source/Plugins/Platform/OpenBSD/PlatformOpenBSD.cpp index 84d9ff799f47..3946092276fd 100644 --- a/lldb/source/Plugins/Platform/OpenBSD/PlatformOpenBSD.cpp +++ b/lldb/source/Plugins/Platform/OpenBSD/PlatformOpenBSD.cpp @@ -20,6 +20,7 @@ #include "lldb/Target/Process.h" #include "lldb/Target/Target.h" #include "lldb/Utility/FileSpec.h" +#include "lldb/Utility/LLDBLog.h" #include "lldb/Utility/Log.h" #include "lldb/Utility/State.h" #include "lldb/Utility/Status.h" @@ -40,7 +41,7 @@ static uint32_t g_initialize_count = 0; PlatformSP PlatformOpenBSD::CreateInstance(bool force, const ArchSpec *arch) { - Log *log(GetLogIfAllCategoriesSet(LIBLLDB_LOG_PLATFORM)); + Log *log = GetLog(LLDBLog::Platform); LLDB_LOG(log, "force = {0}, arch=({1}, {2})", force, arch ? arch->GetArchitectureName() : "<null>", arch ? arch->GetTriple().getTriple() : "<null>"); @@ -117,9 +118,10 @@ PlatformOpenBSD::PlatformOpenBSD(bool is_host) } } -std::vector<ArchSpec> PlatformOpenBSD::GetSupportedArchitectures() { +std::vector<ArchSpec> +PlatformOpenBSD::GetSupportedArchitectures(const ArchSpec &process_host_arch) { if (m_remote_platform_sp) - return m_remote_platform_sp->GetSupportedArchitectures(); + return m_remote_platform_sp->GetSupportedArchitectures(process_host_arch); return m_supported_architectures; } |
