[Lldb-commits] [lldb] [lldb] fix the "RegisterValue::SetValueFromData" method for 128-bit integer registers (PR #163646)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Fri Oct 17 06:58:33 PDT 2025
Matej =?utf-8?q?Ko=C5=A1=C3=ADk?= <matej.kosik at codasip.com>,
Matej =?utf-8?q?Ko=C5=A1=C3=ADk?= <matej.kosik at codasip.com>,
Matej =?utf-8?q?Ko=C5=A1=C3=ADk?= <matej.kosik at codasip.com>,
Matej =?utf-8?q?Ko=C5=A1=C3=ADk?= <matej.kosik at codasip.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/163646 at github.com>
================
@@ -54,3 +56,56 @@ TEST(RegisterValueTest, GetScalarValue) {
Scalar((APInt(128, 0xffeeddccbbaa9988ull) << 64) |
APInt(128, 0x7766554433221100)));
}
+
+static const Scalar etalon128(APInt(128, 0xffeeddccbbaa9988ull) << 64 |
+ APInt(128, 0x7766554433221100ull));
+
+void TestSetValueFromData128(const RegisterInfo &ri, void *src,
----------------
DavidSpickett wrote:
ri is also common to both tests.
https://github.com/llvm/llvm-project/pull/163646
More information about the lldb-commits
mailing list