Skip to content

Commit 493a359

Browse files
committed
[lldb][AArch64] Fix live process test for Linux's mte_ctrl register
I forgot to update this when I changed the presentation of the "TCF" field.
1 parent e873fd1 commit 493a359

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lldb/test/API/commands/register/register/aarch64_mte_ctrl_register/TestMTECtrlRegister.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,9 @@ def check_mte_ctrl(async_err, sync_err):
4242
expected = [value]
4343

4444
if self.hasXMLSupport():
45+
tfc_modes = ["NONE", "SYNC", "ASYNC", "ASYMM"]
4546
expected.append(
46-
"(TAGS = 0, TCF_ASYNC = {}, TCF_SYNC = {}, TAGGED_ADDR_ENABLE = 1)".format(
47+
f"(TAGS = 0, TCF = TCF_{tfc_modes[async_err << 1 | sync_err]}, TAGGED_ADDR_ENABLE = 1)".format(
4748
async_err, sync_err
4849
)
4950
)

0 commit comments

Comments
 (0)