This is an archive of the discontinued LLVM Phabricator instance.

[lldb] Require native for command-thread-siginfo.test
ClosedPublic

Authored by asahay on Mar 11 2022, 12:20 PM.

Details

Summary

command-thread-siginfo.test employs a subject with a call to wait, and
thus requires system-linux. However, it's possible to target non-Linux
platforms despite operating on Linux hosts. So, have it require native
too.

Diff Detail

Event Timeline

asahay created this revision.Mar 11 2022, 12:20 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 11 2022, 12:20 PM
asahay requested review of this revision.Mar 11 2022, 12:20 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 11 2022, 12:20 PM
labath accepted this revision.Mar 14 2022, 1:13 AM
labath added a subscriber: labath.

Looks good, although I would be surprised if this was the only test which suffered from the same problem.

Another possibility would be to make the %clang_host substitution smarter and have it always build for the host, regardless of the value of llvm's default target triple.

This revision is now accepted and ready to land.Mar 14 2022, 1:13 AM
mgorny accepted this revision.Mar 14 2022, 6:21 AM

Thanks for catching this!

This revision was automatically updated to reflect the committed changes.