Skip to content

Commit b4058bf

Browse files
committed
[lldb] [disassembler] chore: enhance VariableAnnotator to return structured data: introduce VariableAnnotator::AnnotateStructured method: formatting
Signed-off-by: Nikita B <[email protected]>
1 parent 43e1b8f commit b4058bf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lldb/source/Core/Disassembler.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,8 @@ std::vector<std::string> VariableAnnotator::Annotate(Instruction &inst) {
315315
? llvm::StringRef(kUndefLocationFormatted)
316316
: llvm::StringRef(annotation.location_description));
317317

318-
events.push_back(llvm::formatv("{0} = {1}", annotation.variable_name, location).str());
318+
events.push_back(
319+
llvm::formatv("{0} = {1}", annotation.variable_name, location).str());
319320
}
320321

321322
return events;

0 commit comments

Comments
 (0)