================
@@ -408,3 +408,68 @@ def test_big_endian_vector_sb_api(self):
vector = frame.FindRegister(name)
self.assert_float_children(vector, [1.5, 2.5])
self.assertEqual(vector.Cast(ull).GetValueAsUnsigned(),
0x3FC0000040200000)
+
+ @skipIfXmlSupportMissing
+ @skipIfRemote
+ def test_direct_vector_cli(self):
+ self.setup_register_test(
+ """\
+ <vector id="v4f" type="ieee_single" count="4"/>
+ <reg name="v0" regnum="0" bitsize="128" type="v4f"/>
+ <reg name="pc" bitsize="64"/>""",
+ "0000c03f000020400000604000009040" + "00" * 8,
+ )
+
+ self.expect(
+ "register read v0",
+ patterns=[
----------------
DavidSpickett wrote:
Could you run the second part through
https://docs.python.org/3/library/re.html#re.escape so that we don't have to
read all the backslashes?
https://github.com/llvm/llvm-project/pull/222724
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits