[Lldb-commits] [lldb] [lldb] [disassembler] chore: enhance VariableAnnotator to return structured data: introduce VariableAnnotator::AnnotateStructured method (PR #169408)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Wed Nov 26 11:35:02 PST 2025


================
@@ -286,6 +286,10 @@ bool Disassembler::ElideMixedSourceAndDisassemblyLine(
   return false;
 }
 
+static constexpr const char *UndefLocation = "undef";
+static const std::string UndefLocationFormatted =
+    llvm::formatv("<{0}>", UndefLocation).str();
----------------
JDevlieghere wrote:

```suggestion
static constexpr const llvm::StringLiteral kUndefLocation = "undef";
static contexpr const llvm::StringLiteral kUndefLocationFormatted = "<undef>";
```

https://github.com/llvm/llvm-project/pull/169408


More information about the lldb-commits mailing list