================
@@ -286,6 +286,19 @@ bool Disassembler::ElideMixedSourceAndDisassemblyLine(
return false;
}
+static constexpr const llvm::StringLiteral kUndefLocation = "undef";
+static constexpr const llvm::StringLiteral kUndefLocationFormatted = "<undef>";
+static void
+AddVariableAnnotationToVector(std::vector<VariableAnnotation> &annotations,
+ VariableAnnotation annotation_entity,
+ const bool is_live) {
+ annotation_entity.is_live = is_live;
+ if (!is_live) {
+ annotation_entity.location_description = kUndefLocation;
+ }
----------------
JDevlieghere wrote:
```suggestion
if (!is_live)
annotation_entity.location_description = kUndefLocation;
```
https://github.com/llvm/llvm-project/pull/169408
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits