File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
lldb/source/Plugins/LanguageRuntime/Swift Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -562,13 +562,14 @@ SwiftLanguageRuntimeImpl::GetConformances(llvm::StringRef mangled_name) {
562562void SwiftLanguageRuntimeImpl::SetupReflection () {
563563 LLDB_SCOPED_TIMER ();
564564
565-
566565 std::lock_guard<std::recursive_mutex> lock (m_reflection_ctx_mutex);
567566 if (m_initialized_reflection_ctx)
568567 return ;
569568
570569 // The global ABI bit is read by the Swift runtime library.
571570 SetupABIBit ();
571+ SetupExclusivity ();
572+ SetupSwiftError ();
572573
573574 auto &target = m_process.GetTarget ();
574575 auto exe_module = target.GetExecutableModule ();
@@ -647,9 +648,6 @@ void SwiftLanguageRuntimeImpl::SetupABIBit() {
647648
648649SwiftLanguageRuntimeImpl::SwiftLanguageRuntimeImpl (Process &process)
649650 : m_process (process) {
650- // The global ABI bit is read by the Swift runtime library.
651- SetupExclusivity ();
652- SetupSwiftError ();
653651 Target &target = m_process.GetTarget ();
654652 m_modules_to_add.Append (target.GetImages ());
655653 RegisterSwiftFrameRecognizers (m_process);
You can’t perform that action at this time.
0 commit comments