This is an archive of the discontinued LLVM Phabricator instance.

[clang] Improve hermeticity of clang header tests.
ClosedPublic

Authored by simpal01 on Jul 27 2023, 6:42 AM.

Details

Summary

At the moment the below header tests fail with the multilib error in LLVM Embedded Toolchain for Arm because there is no corresponding aarch64 big endian library variant exist. Specifying --sysroot to its own testing directory clang/test/Headers/Inputs (which does not have any dependency library) prevents these header tests from being located in standard library directories.

  1. clang/test/Headers/arm-neon-header.c
  2. clang/test/Headers/arm-fp16-header.c

Diff Detail

Event Timeline

simpal01 created this revision.Jul 27 2023, 6:42 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 27 2023, 6:42 AM
simpal01 requested review of this revision.Jul 27 2023, 6:42 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 27 2023, 6:42 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
simpal01 edited the summary of this revision. (Show Details)Jul 27 2023, 6:42 AM
simpal01 edited the summary of this revision. (Show Details)Jul 27 2023, 10:01 AM
This revision is now accepted and ready to land.Jul 27 2023, 11:50 PM
This revision was landed with ongoing or failed builds.Jul 31 2023, 12:25 AM
This revision was automatically updated to reflect the committed changes.