diff --git a/llvm/lib/ExecutionEngine/PerfJITEvents/PerfJITEventListener.cpp b/llvm/lib/ExecutionEngine/PerfJITEvents/PerfJITEventListener.cpp --- a/llvm/lib/ExecutionEngine/PerfJITEvents/PerfJITEventListener.cpp +++ b/llvm/lib/ExecutionEngine/PerfJITEvents/PerfJITEventListener.cpp @@ -205,7 +205,7 @@ Dumpstream = std::make_unique(DumpFd, true); - LLVMPerfJitHeader Header = {0}; + LLVMPerfJitHeader Header = {0, 0, 0, 0, 0, 0, 0, 0}; if (!FillMachine(Header)) return;