[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 16:57:06 PST 2022
Peiming created this revision.
Herald added a subscriber: hiraditya.
Herald added a project: All.
Peiming requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Repository:
rG LLVM Github Monorepo
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.481791.patch
Type: text/x-patch
Size: 498 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221210/e35c7fed/attachment.bin>
More information about the llvm-commits
mailing list