[Lldb-commits] [lldb] [lldb] Fix wchar addition tests in DIL (PR #184082)

Ilia Kuklin via lldb-commits lldb-commits at lists.llvm.org
Mon Mar 2 01:32:01 PST 2026


https://github.com/kuilpd created https://github.com/llvm/llvm-project/pull/184082

None

>From af14af03bc6317fbc783257e64bd844a0bed6566 Mon Sep 17 00:00:00 2001
From: Ilia Kuklin <ikuklin at accesssoftek.com>
Date: Mon, 2 Mar 2026 14:29:57 +0500
Subject: [PATCH] [lldb] Fix DIL wchar tests

---
 .../var-dil/expr/Arithmetic/TestFrameVarDILArithmetic.py    | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lldb/test/API/commands/frame/var-dil/expr/Arithmetic/TestFrameVarDILArithmetic.py b/lldb/test/API/commands/frame/var-dil/expr/Arithmetic/TestFrameVarDILArithmetic.py
index 5b68c493ba3a5..bfa040b8cfb7b 100644
--- a/lldb/test/API/commands/frame/var-dil/expr/Arithmetic/TestFrameVarDILArithmetic.py
+++ b/lldb/test/API/commands/frame/var-dil/expr/Arithmetic/TestFrameVarDILArithmetic.py
@@ -48,9 +48,9 @@ def test_arithmetic(self):
         # Check basic math and resulting types
         self.expect_var_path("1 + 2", value="3", type="int")
         self.expect_var_path("1 + true", value="2", type="int")
-        self.expect_var_path("1L + wchar", value="2", type="long")
-        self.expect_var_path("1L + char16", value="3", type="long")
-        self.expect_var_path("1LL + char32", value="4", type="long long")
+        self.expect_var_path("1UL + wchar", value="2", type="unsigned long")
+        self.expect_var_path("1UL + char16", value="3", type="unsigned long")
+        self.expect_var_path("1ULL + char32", value="4", type="unsigned long long")
         self.expect_var_path("1UL + 1L", value="2", type="unsigned long")
         self.expect_var_path("s + x", value="12", type="int")
         self.expect_var_path("s + l", value="15", type="long")



More information about the lldb-commits mailing list