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 f68f3b9 commit 1fc9b34Copy full SHA for 1fc9b34
lldb/unittests/Host/posix/SupportTest.cpp
@@ -26,7 +26,7 @@ TEST(Support, getProcFile_Pid) {
26
}
27
#endif // #ifndef __APPLE__
28
29
-#if defined(_AIX) || defined(__linux__)
+#if (defined(_AIX) || defined(__linux__)) && defined(LLVM_ENABLE_THREADING)
30
TEST(Support, getProcFile_Tid) {
31
auto BufferOrError = getProcFile(getpid(), llvm::get_threadid(),
32
#ifdef _AIX
@@ -38,4 +38,5 @@ TEST(Support, getProcFile_Tid) {
38
ASSERT_TRUE(BufferOrError);
39
ASSERT_TRUE(*BufferOrError);
40
41
-#endif // #if defined(_AIX) || defined(__linux__)
+#endif // #if (defined(_AIX) || defined(__linux__)) &&
42
+ // defined(LLVM_ENABLE_THREADING)
0 commit comments