Skip to content

Commit a37c69e

Browse files
authored
[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
1 parent 755c28a commit a37c69e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lldb/source/Host/common/Host.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,11 +133,7 @@ class ScopedPThreadCancelDisabler {
133133
#endif // __linux__
134134

135135
#ifdef __linux__
136-
#if defined(__GNUC__) && (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 8))
137-
static __thread volatile sig_atomic_t g_usr1_called;
138-
#else
139136
static thread_local volatile sig_atomic_t g_usr1_called;
140-
#endif
141137

142138
static void SigUsr1Handler(int) { g_usr1_called = 1; }
143139
#endif // __linux__

0 commit comments

Comments
 (0)