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) {
562
562
void SwiftLanguageRuntimeImpl::SetupReflection () {
563
563
LLDB_SCOPED_TIMER ();
564
564
565
-
566
565
std::lock_guard<std::recursive_mutex> lock (m_reflection_ctx_mutex);
567
566
if (m_initialized_reflection_ctx)
568
567
return ;
569
568
570
569
// The global ABI bit is read by the Swift runtime library.
571
570
SetupABIBit ();
571
+ SetupExclusivity ();
572
+ SetupSwiftError ();
572
573
573
574
auto &target = m_process.GetTarget ();
574
575
auto exe_module = target.GetExecutableModule ();
@@ -647,9 +648,6 @@ void SwiftLanguageRuntimeImpl::SetupABIBit() {
647
648
648
649
SwiftLanguageRuntimeImpl::SwiftLanguageRuntimeImpl (Process &process)
649
650
: m_process (process) {
650
- // The global ABI bit is read by the Swift runtime library.
651
- SetupExclusivity ();
652
- SetupSwiftError ();
653
651
Target &target = m_process.GetTarget ();
654
652
m_modules_to_add.Append (target.GetImages ());
655
653
RegisterSwiftFrameRecognizers (m_process);
You can’t perform that action at this time.
0 commit comments