projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c2ab63
)
[llvm-exegesis] Fix build with !HAS_LIBPFM.
author
Clement Courbet
<courbet@google.com>
Wed, 8 Apr 2020 14:01:24 +0000
(16:01 +0200)
committer
Clement Courbet
<courbet@google.com>
Wed, 8 Apr 2020 14:02:11 +0000
(16:02 +0200)
Fixes
9fb871866e2b
.
llvm/tools/llvm-exegesis/lib/PerfHelper.cpp
patch
|
blob
|
history
diff --git
a/llvm/tools/llvm-exegesis/lib/PerfHelper.cpp
b/llvm/tools/llvm-exegesis/lib/PerfHelper.cpp
index
59c66ab
..
c36bd5c
100644
(file)
--- a/
llvm/tools/llvm-exegesis/lib/PerfHelper.cpp
+++ b/
llvm/tools/llvm-exegesis/lib/PerfHelper.cpp
@@
-122,7
+122,7
@@
int64_t Counter::read() const {
#else
-Counter::Counter(
const PerfEvent &Event
) {}
+Counter::Counter(
PerfEvent &&Event) : Event(std::move(Event)
) {}
Counter::~Counter() = default;