Skip to content

Commit bbc894a

Browse files
committed
Revert "[lldb][test] check if CoreDumping info is supported (llvm#160333)"
This reverts commit 02d8fb5.
1 parent 8ae0a20 commit bbc894a

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

lldb/unittests/Host/posix/HostTest.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@
1515
#include <cerrno>
1616
#include <sys/resource.h>
1717

18-
#ifdef __linux__
19-
#include <linux/version.h>
20-
#endif // __linux__
21-
2218
using namespace lldb_private;
2319

2420
namespace {
@@ -120,12 +116,7 @@ TEST_F(HostTest, GetProcessInfoSetsPriority) {
120116
ASSERT_TRUE(Info.IsZombie().has_value());
121117
ASSERT_FALSE(Info.IsZombie().value());
122118

123-
// CoreDumping was added in kernel version 4.15.
124-
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 15, 0)
125119
ASSERT_TRUE(Info.IsCoreDumping().has_value());
126120
ASSERT_FALSE(Info.IsCoreDumping().value());
127-
#else
128-
ASSERT_FALSE(Info.IsCoreDumping().has_value());
129-
#endif
130121
}
131122
#endif

0 commit comments

Comments
 (0)