From d20ed7396270b0d6e1715fa1f2f800a814a1fa18 Mon Sep 17 00:00:00 2001 From: Mike McLaughlin Date: Mon, 23 Sep 2024 16:28:35 -0700 Subject: [PATCH] Fix linux-arm64 libsosplugin.so not loading (#4954) --- src/SOS/lldbplugin/sosplugin.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/SOS/lldbplugin/sosplugin.cpp b/src/SOS/lldbplugin/sosplugin.cpp index f4ef26e1c9..2f13c3785a 100644 --- a/src/SOS/lldbplugin/sosplugin.cpp +++ b/src/SOS/lldbplugin/sosplugin.cpp @@ -7,6 +7,11 @@ namespace lldb { bool PluginInitialize (lldb::SBDebugger debugger); } +#if defined(HOST_ARM64) +// Flag to check if atomics feature is available on the machine +bool g_arm64_atomics_present = false; +#endif + LLDBServices* g_services = nullptr; bool lldb::PluginInitialize(lldb::SBDebugger debugger)