Author: Pavel Labath Date: 2020-06-09T11:58:08+02:00 New Revision: 17798c60bcc284e45529d6afde11bf59ffc549c8
URL: https://github.com/llvm/llvm-project/commit/17798c60bcc284e45529d6afde11bf59ffc549c8 DIFF: https://github.com/llvm/llvm-project/commit/17798c60bcc284e45529d6afde11bf59ffc549c8.diff LOG: [lldb] Fix -Wmissing-field-initializers in StackFrameList The code is correct without these default values, but it is freaking the compiler out. Added: Modified: lldb/source/Target/StackFrameList.cpp Removed: ################################################################################ diff --git a/lldb/source/Target/StackFrameList.cpp b/lldb/source/Target/StackFrameList.cpp index 8549ac079b02..e4f5d3028366 100644 --- a/lldb/source/Target/StackFrameList.cpp +++ b/lldb/source/Target/StackFrameList.cpp @@ -241,8 +241,8 @@ void StackFrameList::GetOnlyConcreteFramesUpTo(uint32_t end_idx, /// callee. struct CallDescriptor { Function *func; - CallEdge::AddrType address_type; - addr_t address; + CallEdge::AddrType address_type = CallEdge::AddrType::Call; + addr_t address = LLDB_INVALID_ADDRESS; }; using CallSequence = std::vector<CallDescriptor>; _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits