Skip to content

Commit 358ff95

Browse files
author
Mike McLaughlin
committed
Fix linux-arm64 libsosplugin.so not loading
1 parent e1b1baf commit 358ff95

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/SOS/lldbplugin/sosplugin.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ namespace lldb {
77
bool PluginInitialize (lldb::SBDebugger debugger);
88
}
99

10+
#if defined(HOST_ARM64)
11+
// Flag to check if atomics feature is available on the machine
12+
bool g_arm64_atomics_present = false;
13+
#endif
14+
1015
LLDBServices* g_services = nullptr;
1116

1217
bool lldb::PluginInitialize(lldb::SBDebugger debugger)

0 commit comments

Comments
 (0)