[PATCH] D139754: [llvm][perf] fix a compiler warning when compile LLVM with LLVM_USE_PERF.
Peiming Liu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 9 21:53:27 PST 2022
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG198a253715fb: [llvm][perf] fix a compiler warning when compile LLVM with LLVM_USE_PERF. (authored by Peiming).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D139754/new/
https://reviews.llvm.org/D139754
Files:
llvm/lib/ExecutionEngine/PerfJITEvents/PerfJITEventListener.cpp
Index: llvm/lib/ExecutionEngine/PerfJITEvents/PerfJITEventListener.cpp
===================================================================
--- llvm/lib/ExecutionEngine/PerfJITEvents/PerfJITEventListener.cpp
+++ llvm/lib/ExecutionEngine/PerfJITEvents/PerfJITEventListener.cpp
@@ -205,7 +205,7 @@
Dumpstream = std::make_unique<raw_fd_ostream>(DumpFd, true);
- LLVMPerfJitHeader Header = {0};
+ LLVMPerfJitHeader Header = {0, 0, 0, 0, 0, 0, 0, 0};
if (!FillMachine(Header))
return;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139754.481828.patch
Type: text/x-patch
Size: 498 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221210/192f8d92/attachment.bin>
More information about the llvm-commits
mailing list