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:
29353e6
)
[lldb] Fix -Wmissing-field-initializers in StackFrameList
author
Pavel Labath
<pavel@labath.sk>
Tue, 9 Jun 2020 09:53:59 +0000
(11:53 +0200)
committer
Pavel Labath
<pavel@labath.sk>
Tue, 9 Jun 2020 09:58:08 +0000
(11:58 +0200)
The code is correct without these default values, but it is freaking the
compiler out.
lldb/source/Target/StackFrameList.cpp
patch
|
blob
|
history
diff --git
a/lldb/source/Target/StackFrameList.cpp
b/lldb/source/Target/StackFrameList.cpp
index
8549ac0
..
e4f5d30
100644
(file)
--- 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>;