Skip to content

Commit b75d8bd

Browse files
authored
Initialize field to appease msan (#141537)
Tested with lldb and lldb-dap test suites.
1 parent 88ee42a commit b75d8bd

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)