This revision was automatically updated to reflect the committed changes. Closed by commit rGdc0f09804886: [lldb] Fix a crash in PlatformAppleSimulator::GetCoreSimulatorPath when Xcode… (authored by teemperor). Herald added a project: LLDB. Herald added a subscriber: lldb-commits.
Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D80997/new/ https://reviews.llvm.org/D80997 Files: lldb/source/Plugins/Platform/MacOSX/PlatformAppleSimulator.cpp Index: lldb/source/Plugins/Platform/MacOSX/PlatformAppleSimulator.cpp =================================================================== --- lldb/source/Plugins/Platform/MacOSX/PlatformAppleSimulator.cpp +++ lldb/source/Plugins/Platform/MacOSX/PlatformAppleSimulator.cpp @@ -223,7 +223,8 @@ developer_dir.c_str()); m_core_simulator_framework_path = FileSpec(cs_path.GetData()); FileSystem::Instance().Resolve(*m_core_simulator_framework_path); - } + } else + m_core_simulator_framework_path = FileSpec(); } return m_core_simulator_framework_path.getValue();
Index: lldb/source/Plugins/Platform/MacOSX/PlatformAppleSimulator.cpp =================================================================== --- lldb/source/Plugins/Platform/MacOSX/PlatformAppleSimulator.cpp +++ lldb/source/Plugins/Platform/MacOSX/PlatformAppleSimulator.cpp @@ -223,7 +223,8 @@ developer_dir.c_str()); m_core_simulator_framework_path = FileSpec(cs_path.GetData()); FileSystem::Instance().Resolve(*m_core_simulator_framework_path); - } + } else + m_core_simulator_framework_path = FileSpec(); } return m_core_simulator_framework_path.getValue();
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits