Skip to content

Commit 3f40d36

Browse files
googlewaltgithub-actions[bot]
authored andcommitted
Automerge: Initialize field to appease msan (#141537)
Tested with lldb and lldb-dap test suites.
2 parents c95b0c9 + b75d8bd commit 3f40d36

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lldb/tools/lldb-dap/Protocol/ProtocolTypes.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -677,6 +677,8 @@ struct DisassembledInstruction {
677677
/// addresses may be presented is 'invalid.'
678678
/// Values: 'normal', 'invalid'
679679
std::optional<PresentationHint> presentationHint;
680+
681+
DisassembledInstruction() : address(0) {}
680682
};
681683
bool fromJSON(const llvm::json::Value &,
682684
DisassembledInstruction::PresentationHint &, llvm::json::Path);

0 commit comments

Comments
 (0)