[Lldb-commits] [lldb] [lldb] [disassembler] chore: enhance VariableAnnotator to return structured data (PR #165163)
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Mon Oct 27 21:20:00 PDT 2025
================
@@ -566,6 +566,21 @@ class Disassembler : public std::enable_shared_from_this<Disassembler>,
const Disassembler &operator=(const Disassembler &) = delete;
};
+/// Structured data for a single variable annotation
+struct VariableAnnotation {
+ std::string variable_name;
+ std::string location_description; // e.g., "r15", "undef", "const_0"
+ lldb::addr_t start_address; // Where this annotation starts being valid
----------------
JDevlieghere wrote:
These should be Doxygen-style comments and go on the line before the member.
https://github.com/llvm/llvm-project/pull/165163
More information about the lldb-commits
mailing list