[llvm] r329172 - [llvm-exegesis] Fix build when libpfm is not available.
Clement Courbet via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 4 04:48:15 PDT 2018
Author: courbet
Date: Wed Apr 4 04:48:15 2018
New Revision: 329172
URL: http://llvm.org/viewvc/llvm-project?rev=329172&view=rev
Log:
[llvm-exegesis] Fix build when libpfm is not available.
Modified:
llvm/trunk/unittests/tools/llvm-exegesis/PerfHelperTest.cpp
Modified: llvm/trunk/unittests/tools/llvm-exegesis/PerfHelperTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/tools/llvm-exegesis/PerfHelperTest.cpp?rev=329172&r1=329171&r2=329172&view=diff
==============================================================================
--- llvm/trunk/unittests/tools/llvm-exegesis/PerfHelperTest.cpp (original)
+++ llvm/trunk/unittests/tools/llvm-exegesis/PerfHelperTest.cpp Wed Apr 4 04:48:15 2018
@@ -38,7 +38,7 @@ TEST(PerfHelperTest, FunctionalTest) {
EXPECT_THAT(CallbackEventNameFullyQualifed, Not(IsEmpty()));
pfmTerminate();
#else
- ASSERT_TRUE(PfmInitialize());
+ ASSERT_TRUE(pfmInitialize());
#endif
}
More information about the llvm-commits
mailing list