https://lab.llvm.org/buildbot/#/builders/17/builds/23269 breaks because
we are doing some asm calls that only work on x86
https://lab.llvm.org/buildbot/#/builders/68/builds/34092/steps/6/logs/stdio
breaks because some comparators where being done incorrectly.
//
//===----------------------------------------------------------------------===//
+#ifdef __x86_64__
+
#include "Perf.h"
#include "llvm/Support/Error.h"
ASSERT_LT(converted_tsc_diff.count(),
(SLEEP_NANOS + acceptable_overhead).count());
}
+
+#endif // __x86_64__
// portions of the JSON representation are unchanged.
ASSERT_EQ(toJSON(response), toJSON(*deserialized_response));
// Ensure that the tsc_conversion's are nullptr.
- ASSERT_EQ(response.tsc_perf_zero_conversion, None);
- ASSERT_EQ(response.tsc_perf_zero_conversion,
- deserialized_response->tsc_perf_zero_conversion);
+ ASSERT_FALSE((bool)response.tsc_perf_zero_conversion);
+ ASSERT_FALSE((bool)deserialized_response->tsc_perf_zero_conversion);
}