[llvm-exegesis] benchmarkMain(): less cryptic error if built w/o libpfm
authorRoman Lebedev <lebedev.ri@gmail.com>
Mon, 8 Apr 2019 10:50:31 +0000 (10:50 +0000)
committerRoman Lebedev <lebedev.ri@gmail.com>
Mon, 8 Apr 2019 10:50:31 +0000 (10:50 +0000)
commiteb1a156d7f7ba56ea8f9a26da36e6a93d1e98bda
treeb7b9a7675d83f42ab506f70db6576bce8773ad55
parent25de7691a0e27c29c8d783a22373cc265571f5e9
[llvm-exegesis] benchmarkMain(): less cryptic error if built w/o libpfm

Wanted to check if inablility to measure latency of CMOV32rm
is a regression from D60041 / D60138, but unable to do that
because the llvm-exegesis-{8,9} from debian sid fails
with that cryptic, unhelpful error.

I suspect this will be a better error.

llvm-svn: 357900
llvm/tools/llvm-exegesis/llvm-exegesis.cpp