Skip to content

Commit 45d9aab

Browse files
committed
Fix e6c84f8
Failed buildbot: https://lab.llvm.org/buildbot/#/builders/17/builds/19490 Only run perf event tsc conversion test on x86_64.
1 parent bdf69f6 commit 45d9aab

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lldb/unittests/Process/Linux/PerfTests.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9+
#ifdef __x86_64__
10+
911
#include "Perf.h"
1012

1113
#include "llvm/Support/Error.h"
@@ -83,3 +85,5 @@ TEST(Perf, TscConversion) {
8385
ASSERT_LT(converted_tsc_diff.count(),
8486
(SLEEP_NANOS + acceptable_overhead).count());
8587
}
88+
89+
#endif // __x86_64__

0 commit comments

Comments
 (0)