This is an archive of the discontinued LLVM Phabricator instance.

[lldb] [test] Make AVX/MPX register tests more robust and fix on BSD
ClosedPublic

Authored by mgorny on Jun 17 2022, 2:48 AM.

Details

Summary

Make the AVX/MPX register tests more robust by checking for the presence
of actual registers rather than register sets. Account for the option
that the respective registers are defined but not available, as is
the case on FreeBSD and NetBSD. This fixes test regression on these
platforms.

Sponsored by: The FreeBSD Foundation

Diff Detail

Event Timeline

mgorny created this revision.Jun 17 2022, 2:48 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 17 2022, 2:48 AM
Herald added a subscriber: arichardson. · View Herald Transcript
mgorny requested review of this revision.Jun 17 2022, 2:48 AM
krytarowski accepted this revision.Jun 19 2022, 11:40 PM
This revision is now accepted and ready to land.Jun 19 2022, 11:40 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 20 2022, 10:42 AM