Author: Pavel Labath Date: 2021-10-26T13:03:47+02:00 New Revision: 93c7ed8c3f8e2b2966e565758d0992ec1b07a11f
URL: https://github.com/llvm/llvm-project/commit/93c7ed8c3f8e2b2966e565758d0992ec1b07a11f DIFF: https://github.com/llvm/llvm-project/commit/93c7ed8c3f8e2b2966e565758d0992ec1b07a11f.diff LOG: [lldb] Fix PlatformAppleSimulator for a458ef4f Added: Modified: lldb/source/Plugins/Platform/MacOSX/PlatformAppleSimulator.cpp Removed: ################################################################################ diff --git a/lldb/source/Plugins/Platform/MacOSX/PlatformAppleSimulator.cpp b/lldb/source/Plugins/Platform/MacOSX/PlatformAppleSimulator.cpp index c9c275caaeba..69692ddc77c4 100644 --- a/lldb/source/Plugins/Platform/MacOSX/PlatformAppleSimulator.cpp +++ b/lldb/source/Plugins/Platform/MacOSX/PlatformAppleSimulator.cpp @@ -529,8 +529,7 @@ static const char *g_ios_description = "iPhone simulator platform plug-in."; /// IPhone Simulator Plugin. struct PlatformiOSSimulator { static void Initialize() { - PluginManager::RegisterPlugin(ConstString(g_ios_plugin_name), - g_ios_description, + PluginManager::RegisterPlugin(g_ios_plugin_name, g_ios_description, PlatformiOSSimulator::CreateInstance); } @@ -579,8 +578,7 @@ static const char *g_tvos_description = "tvOS simulator platform plug-in."; /// Apple TV Simulator Plugin. struct PlatformAppleTVSimulator { static void Initialize() { - PluginManager::RegisterPlugin(ConstString(g_tvos_plugin_name), - g_tvos_description, + PluginManager::RegisterPlugin(g_tvos_plugin_name, g_tvos_description, PlatformAppleTVSimulator::CreateInstance); } @@ -621,8 +619,7 @@ static const char *g_watchos_description = /// Apple Watch Simulator Plugin. struct PlatformAppleWatchSimulator { static void Initialize() { - PluginManager::RegisterPlugin(ConstString(g_watchos_plugin_name), - g_watchos_description, + PluginManager::RegisterPlugin(g_watchos_plugin_name, g_watchos_description, PlatformAppleWatchSimulator::CreateInstance); } _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits