We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ae0a20 commit bbc894aCopy full SHA for bbc894a
lldb/unittests/Host/posix/HostTest.cpp
@@ -15,10 +15,6 @@
15
#include <cerrno>
16
#include <sys/resource.h>
17
18
-#ifdef __linux__
19
-#include <linux/version.h>
20
-#endif // __linux__
21
-
22
using namespace lldb_private;
23
24
namespace {
@@ -120,12 +116,7 @@ TEST_F(HostTest, GetProcessInfoSetsPriority) {
120
116
ASSERT_TRUE(Info.IsZombie().has_value());
121
117
ASSERT_FALSE(Info.IsZombie().value());
122
118
123
- // CoreDumping was added in kernel version 4.15.
124
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 15, 0)
125
119
ASSERT_TRUE(Info.IsCoreDumping().has_value());
126
ASSERT_FALSE(Info.IsCoreDumping().value());
127
-#else
128
- ASSERT_FALSE(Info.IsCoreDumping().has_value());
129
-#endif
130
}
131
#endif
0 commit comments