[Lldb-commits] [lldb] cf26380 - [lldb/tools] Update lldb-test's system initializer
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Tue Jan 21 09:58:41 PST 2020
Author: Jonas Devlieghere
Date: 2020-01-21T09:58:35-08:00
New Revision: cf263807a6c0a6989476ae9d44a21a657e048c94
URL: https://github.com/llvm/llvm-project/commit/cf263807a6c0a6989476ae9d44a21a657e048c94
DIFF: https://github.com/llvm/llvm-project/commit/cf263807a6c0a6989476ae9d44a21a657e048c94.diff
LOG: [lldb/tools] Update lldb-test's system initializer
After a731c6ba94d0 the initializer only has to call the PlatformMacOSX
to initialize all the macOS platforms.
Added:
Modified:
lldb/tools/lldb-test/SystemInitializerTest.cpp
Removed:
################################################################################
diff --git a/lldb/tools/lldb-test/SystemInitializerTest.cpp b/lldb/tools/lldb-test/SystemInitializerTest.cpp
index 409ce2ed0bc1..16d39d7cae56 100644
--- a/lldb/tools/lldb-test/SystemInitializerTest.cpp
+++ b/lldb/tools/lldb-test/SystemInitializerTest.cpp
@@ -91,13 +91,6 @@
#if defined(__APPLE__)
#include "Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.h"
-#include "Plugins/Platform/MacOSX/PlatformAppleTVSimulator.h"
-#include "Plugins/Platform/MacOSX/PlatformAppleWatchSimulator.h"
-#include "Plugins/Platform/MacOSX/PlatformDarwinKernel.h"
-#include "Plugins/Platform/MacOSX/PlatformRemoteAppleBridge.h"
-#include "Plugins/Platform/MacOSX/PlatformRemoteAppleTV.h"
-#include "Plugins/Platform/MacOSX/PlatformRemoteAppleWatch.h"
-#include "Plugins/Platform/MacOSX/PlatformiOSSimulator.h"
#include "Plugins/Process/MacOSX-Kernel/ProcessKDP.h"
#include "Plugins/SymbolVendor/MacOSX/SymbolVendorMacOSX.h"
#endif
@@ -177,10 +170,6 @@ llvm::Error SystemInitializerTest::Initialize() {
platform_android::PlatformAndroid::Initialize();
PlatformRemoteiOS::Initialize();
PlatformMacOSX::Initialize();
-#if defined(__APPLE__)
- PlatformiOSSimulator::Initialize();
- PlatformDarwinKernel::Initialize();
-#endif
// Initialize LLVM and Clang
llvm::InitializeAllTargets();
@@ -244,12 +233,6 @@ llvm::Error SystemInitializerTest::Initialize() {
#if defined(__APPLE__)
SymbolVendorMacOSX::Initialize();
ProcessKDP::Initialize();
- PlatformAppleTVSimulator::Initialize();
- PlatformAppleWatchSimulator::Initialize();
- PlatformRemoteAppleTV::Initialize();
- PlatformRemoteAppleWatch::Initialize();
- PlatformRemoteAppleBridge::Initialize();
- DynamicLoaderDarwinKernel::Initialize();
#endif
// This plugin is valid on any host that talks to a Darwin remote. It
@@ -337,11 +320,6 @@ void SystemInitializerTest::Terminate() {
DynamicLoaderDarwinKernel::Terminate();
ProcessKDP::Terminate();
SymbolVendorMacOSX::Terminate();
- PlatformAppleTVSimulator::Terminate();
- PlatformAppleWatchSimulator::Terminate();
- PlatformRemoteAppleTV::Terminate();
- PlatformRemoteAppleWatch::Terminate();
- PlatformRemoteAppleBridge::Terminate();
#endif
#if defined(__FreeBSD__)
@@ -359,7 +337,6 @@ void SystemInitializerTest::Terminate() {
DynamicLoaderStatic::Terminate();
DynamicLoaderWindowsDYLD::Terminate();
-
platform_freebsd::PlatformFreeBSD::Terminate();
platform_linux::PlatformLinux::Terminate();
platform_netbsd::PlatformNetBSD::Terminate();
@@ -368,10 +345,6 @@ void SystemInitializerTest::Terminate() {
platform_android::PlatformAndroid::Terminate();
PlatformMacOSX::Terminate();
PlatformRemoteiOS::Terminate();
-#if defined(__APPLE__)
- PlatformiOSSimulator::Terminate();
- PlatformDarwinKernel::Terminate();
-#endif
breakpad::ObjectFileBreakpad::Terminate();
ObjectFileELF::Terminate();
More information about the lldb-commits
mailing list