[Lldb-commits] [PATCH] D41962: Fix TestYMMRegisters for older machines without AVX2

Adrian Prantl via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Jan 12 13:30:58 PST 2018


aprantl added a comment.

> there's a new skipUnlessFeature() method added to decorators.py which runs sysctl to detect hardware features (in this case, hw.optional.avx512f)

How does one execute a program like `sysctl` on the remote? I have seen code in TestLldbGdbServer.py that uses `platform get-file /proc/cpuinfo` to achieve something similar for Linux, but that works without executing a new process.


https://reviews.llvm.org/D41962





More information about the lldb-commits mailing list