From: Muhammad Omair Javaid Date: Tue, 21 Jul 2020 08:34:08 +0000 (+0500) Subject: [LLDB] Fix Arm/AArch64 Linux broken build X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=62ccfb6ed0bed899f22abc00bec96a372420c5d0;p=platform%2Fupstream%2Fllvm.git [LLDB] Fix Arm/AArch64 Linux broken build This patch fixes build breakage on LLDB Arm/AArch64 Linux buildbots. http://lab.llvm.org:8011/builders/lldb-aarch64-ubuntu/builds/6649 http://lab.llvm.org:8011/builders/lldb-arm-ubuntu/builds/1919 This build breakage was introduces by commit: 001c8e1fd9f09d3de9ff6e64bdac4b8ca681dfb4 --- diff --git a/lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.h b/lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.h index 30b11eb..3e9a0b3 100644 --- a/lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.h +++ b/lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.h @@ -79,6 +79,10 @@ public: private: PlatformMacOSX(const PlatformMacOSX &) = delete; const PlatformMacOSX &operator=(const PlatformMacOSX &) = delete; + +#if defined(__arm__) || defined(__arm64__) || defined(__aarch64__) + uint32_t m_num_arm_arches = 0; +#endif }; #endif // LLDB_SOURCE_PLUGINS_PLATFORM_MACOSX_PLATFORMMACOSX_H