[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
Thu Nov 6 11:28:42 PST 2025
================
@@ -116,3 +116,177 @@ def test_seed_reg_const_undef(self):
print(out)
self.assertRegex(out, r"\b(i|argc)\s*=\s*(DW_OP_reg\d+\b|R[A-Z0-9]+)")
self.assertNotIn("<decoding error>", out)
+
+ @no_debug_info_test
+ @skipIf(archs=no_match(["x86_64"]))
+ def test_structured_annotations_api(self):
----------------
JDevlieghere wrote:
Is there any way we can simplify this test? Maybe look for a few specific variables, like the tests above? I appreciate the thoroughness, but I'm worried that by reading the test, I can't tell what's really expected. I'd rather pick a few specific variables like `argc` and `argv` and validate those.
https://github.com/llvm/llvm-project/pull/165163
More information about the lldb-commits
mailing list