Revert "[lldb][LocateModuleCallback] Fix LocateModuleCallbackTest"

This reverts commit fb087c17c82309404fe0ebf3505c186642a719f7.

This is because of test failures:

lldb-unit.Target/_/TargetTests/LocateModuleCallbackTest.GetOrCreateModuleWithCachedModule
lldb-unit.Target/_/TargetTests/LocateModuleCallbackTest.GetOrCreateModuleWithCachedModuleAndBreakpadSymbol
This commit is contained in:
Shubham Sandeep Rastogi 2023-07-14 11:03:02 -04:00
parent 5e877caf4d
commit 668a3efd42

View File

@ -22,7 +22,6 @@
using namespace lldb;
using namespace lldb_private;
using namespace lldb_private::platform_android;
using namespace lldb_private::platform_linux;
using namespace lldb_private::breakpad;
using namespace testing;
@ -191,8 +190,7 @@ ProcessSP MockProcessCreateInstance(TargetSP target_sp, ListenerSP listener_sp,
class LocateModuleCallbackTest : public testing::Test {
SubsystemRAII<FileSystem, HostInfo, ObjectFileBreakpad, ObjectFileELF,
PlatformAndroid, PlatformLinux, SymbolFileBreakpad,
SymbolFileSymtab>
PlatformAndroid, SymbolFileBreakpad, SymbolFileSymtab>
subsystems;
public:
@ -204,9 +202,6 @@ public:
m_test_dir);
// Create Debugger.
ArchSpec host_arch("i386-pc-linux");
Platform::SetHostPlatform(
platform_linux::PlatformLinux::CreateInstance(true, &host_arch));
m_debugger_sp = Debugger::CreateInstance();
EXPECT_TRUE(m_debugger_sp);