[all-commits] [llvm/llvm-project] 64f98a: [lldb] Fix memory tag unsupported test
David Spickett via All-commits
all-commits at lists.llvm.org
Fri Jun 25 01:57:37 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 64f98aae40894cb0b281723c7f91e73705f551ce
https://github.com/llvm/llvm-project/commit/64f98aae40894cb0b281723c7f91e73705f551ce
Author: David Spickett <david.spickett at linaro.org>
Date: 2021-06-25 (Fri, 25 Jun 2021)
Changed paths:
M lldb/test/API/functionalities/memory/tag/TestMemoryTag.py
Log Message:
-----------
[lldb] Fix memory tag unsupported test
This corrects the test added in
31f9960c38529ce805edf9764535eb0ce188cadf
and temporarily patched in
3b4aad1186e8e8e6f6c7887cb5e8d9bfd7d3ce2f.
This test checks that the memory tag read
command errors when you use it on a platform
without memory tagging.
(which is why we skip the test if you actually
have MTE)
The problem with this test is that there's
two levels of unsupported each with it's own
specific error.
On anything that isn't AArch64, there's no
tagging extension we support. So you're told
that that is the case. As in "this won't ever work".
When you're on AArch64 we know that MTE could
be present on the remote and when we find that it
isn't, we tell you that instead.
Expect a different error message on AArch64 to fix
the test.
More information about the All-commits
mailing list