Revert "[lldb] Use just-built libcxx for tests when available"

This reverts commit c38eeecbc7.
This commit is contained in:
Felipe de Azevedo Piovezan
2022-09-08 14:37:46 -04:00
parent b69f10f5a1
commit 9a41f6e708
7 changed files with 9 additions and 26 deletions

View File

@@ -47,8 +47,8 @@ class SBModuleAPICase(TestBase):
process = target.AttachToProcessWithID(self.dbg.GetListener(),
self.background_pid, error)
self.assertTrue(error.Success() and process, PROCESS_IS_VALID)
main_module = target.FindModule(lldb.SBFileSpec("a.out"))
self.assertTrue(main_module is not None)
main_module = target.GetModuleAtIndex(0)
self.assertEqual(main_module.GetFileSpec().GetFilename(), "a.out")
self.assertFalse(main_module.IsFileBacked(),
"The module should not be backed by a file on disk.")