[Lldb-commits] [lldb] 45d9aab - Fix e6c84f82b87576a57d1fa1c7e8c289d3d4fa7ab1

Jakob Johnson via lldb-commits lldb-commits at lists.llvm.org
Mon Mar 21 15:02:27 PDT 2022


Author: Jakob Johnson
Date: 2022-03-21T15:02:02-07:00
New Revision: 45d9aab7a5a76b7317ec5571bc557158045a34df

URL: https://github.com/llvm/llvm-project/commit/45d9aab7a5a76b7317ec5571bc557158045a34df
DIFF: https://github.com/llvm/llvm-project/commit/45d9aab7a5a76b7317ec5571bc557158045a34df.diff

LOG: Fix e6c84f82b87576a57d1fa1c7e8c289d3d4fa7ab1

Failed buildbot: https://lab.llvm.org/buildbot/#/builders/17/builds/19490

Only run perf event tsc conversion test on x86_64.

Added: 
    

Modified: 
    lldb/unittests/Process/Linux/PerfTests.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/unittests/Process/Linux/PerfTests.cpp b/lldb/unittests/Process/Linux/PerfTests.cpp
index 3a1c08c11cdfb..934d680e8c38b 100644
--- a/lldb/unittests/Process/Linux/PerfTests.cpp
+++ b/lldb/unittests/Process/Linux/PerfTests.cpp
@@ -6,6 +6,8 @@
 //
 //===----------------------------------------------------------------------===//
 
+#ifdef __x86_64__
+
 #include "Perf.h"
 
 #include "llvm/Support/Error.h"
@@ -83,3 +85,5 @@ TEST(Perf, TscConversion) {
   ASSERT_LT(converted_tsc_
diff .count(),
             (SLEEP_NANOS + acceptable_overhead).count());
 }
+
+#endif // __x86_64__


        


More information about the lldb-commits mailing list