summaryrefslogtreecommitdiff
path: root/lldb/source/Host/common/Host.cpp
diff options
context:
space:
mode:
authorBrad Smith <brad@comstyle.com>2023-11-30 23:14:46 -0500
committerGitHub <noreply@github.com>2023-11-30 23:14:46 -0500
commita37c69ec315b9526a3532022be3ebe1af9ca356a (patch)
tree1693542c26c3401fa25207f58275e3fca15f40bd /lldb/source/Host/common/Host.cpp
parent755c28a9401536d89601ae3582f44be1746fadb6 (diff)
[lldb] Remove pre GCC 4.8 workaround (#73981)
The minimum GCC version was bumped up from 4.8 to 5.1 and then even newer awhile ago so garbage collect the pre 4.8 workaround. https://reviews.llvm.org/D66188
Diffstat (limited to 'lldb/source/Host/common/Host.cpp')
-rw-r--r--lldb/source/Host/common/Host.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/lldb/source/Host/common/Host.cpp b/lldb/source/Host/common/Host.cpp
index 49eac0b0fa7b..8314d3581f6a 100644
--- a/lldb/source/Host/common/Host.cpp
+++ b/lldb/source/Host/common/Host.cpp
@@ -133,11 +133,7 @@ private:
#endif // __linux__
#ifdef __linux__
-#if defined(__GNUC__) && (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 8))
-static __thread volatile sig_atomic_t g_usr1_called;
-#else
static thread_local volatile sig_atomic_t g_usr1_called;
-#endif
static void SigUsr1Handler(int) { g_usr1_called = 1; }
#endif // __linux__