[Lldb-commits] [lldb] [lldb] Add arithmetic binary subtraction to DIL (PR #184017)

Ilia Kuklin via lldb-commits lldb-commits at lists.llvm.org
Tue Mar 3 07:48:41 PST 2026


================
@@ -87,5 +97,20 @@ def test_arithmetic(self):
 
         # Check references and typedefs
         self.expect_var_path("ref + 1", value="3")
+        self.expect_var_path("ref - 1l", value="1")
         self.expect_var_path("my_ref + 1", value="3")
+        self.expect_var_path("my_ref - 1", value="1")
         self.expect_var_path("ref + my_ref", value="4")
+        self.expect_var_path("ref - my_ref", value="0")
----------------
kuilpd wrote:

They are further up on lines 79 and 80.

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


More information about the lldb-commits mailing list