This is an archive of the discontinued LLVM Phabricator instance.

llvm-debuginfo-analyzer] (08/09) - ELF Reader - - Test case (No available targets)
ClosedPublic

Authored by CarlosAlbertoEnciso on Oct 27 2022, 2:11 AM.

Details

Summary

The unitest and test cases are platform dependent (x86_64)
causing failures in:

https://lab.llvm.org/buildbot/#/builders/245/builds/146
https://lab.llvm.org/buildbot/#/builders/188/builds/21397
No available targets are compatible with triple "x86_64-unknown-unknown".

Added:

  • ';REQUIRES: x86-registered-target' to the LIT tests.
  • Code to check if the target 'Triple::x86_64' is supported to the unittest case.

Diff Detail

Event Timeline

CarlosAlbertoEnciso requested review of this revision.Oct 27 2022, 2:11 AM
jryans accepted this revision.Oct 27 2022, 2:42 AM

Looks good, thanks for the quick fix! ๐Ÿ™‚

This revision is now accepted and ready to land.Oct 27 2022, 2:42 AM

Looks good, thanks for the quick fix! ๐Ÿ™‚

Thanks very much for your review. The patch fixed all the No available targets are compatible with triple "x86_64-unknown-unknown". build failures.
But created a dependency on MC that is detected only with the multistage builds.
Uploaded a path to review https://reviews.llvm.org/D136837