DavidSpickett wrote: > The memory reference can have a corresponding source location. if there is > debuginfo installed on the computer or it is downloaded with debuginfod.
Sounds like the failure we see: ``` FAIL: test_generic_evaluate_expressions (TestDAP_evaluate.TestDAP_evaluate) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/llvm-project/lldb/test/API/tools/lldb-dap/evaluate/TestDAP_evaluate.py", line 228, in test_generic_evaluate_expressions self.run_test_evaluate_expressions(enableAutoVariableSummaries=False) File "/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/llvm-project/lldb/test/API/tools/lldb-dap/evaluate/TestDAP_evaluate.py", line 117, in run_test_evaluate_expressions self.assertEvaluateFailure("list") # local variable of a_function File "/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/llvm-project/lldb/test/API/tools/lldb-dap/evaluate/TestDAP_evaluate.py", line 22, in assertEvaluateFailure self.assertNotIn( AssertionError: 'result' unexpectedly found in {'memoryReference': '0xFFFFF7CB3060', 'result': '0x0000000000000000', 'type': 'int *', 'variablesReference': 7} Config=aarch64-/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/bin/clang ``` We have `libdebuginfod` installed: ``` # apt list --installed | grep debug WARNING: apt does not have a stable CLI interface. Use with caution in scripts. debugedit/now 1:5.0-4build1 arm64 [installed,local] libdebuginfod-common/now 0.186-1build1 all [installed,local] libdebuginfod1/now 0.186-1build1 arm64 [installed,local] ``` We don't have httplib installed though and don't see the URLs env var (https://documentation.ubuntu.com/server/explanation/debugging/about-debuginfod/index.html). So we could be getting the location from a dev or debug info package from apt. https://github.com/llvm/llvm-project/pull/141689 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits