Move targetHasSVE function to lldbtest.py
authorMuhammad Omair Javaid <omair.javaid@linaro.org>
Mon, 7 Sep 2020 03:35:56 +0000 (08:35 +0500)
committerMuhammad Omair Javaid <omair.javaid@linaro.org>
Mon, 7 Sep 2020 03:37:39 +0000 (08:37 +0500)
commit9bee13f89085b08e4e8e24c51c11526fcef6efe1
treef37615ea066b1c18687129dbb447f77f343c6f2c
parent69f2c79f2ad2c3ebdb000cb1311612db7bd2bef8
Move targetHasSVE function to lldbtest.py

targetHasSVE helper function was added to test for availability of SVE support
by connected platform. We now intend to use this function in other testcases
and I am moving it to a generic location in lldbtest.py to allow usage by
other upcoming testcases.

Reviewed By: labath

Differential Revision: https://reviews.llvm.org/D86872
lldb/packages/Python/lldbsuite/test/lldbtest.py
lldb/test/API/commands/register/register/aarch64_sve_registers/rw_access_static_config/TestSVERegisters.py