This is an archive of the discontinued LLVM Phabricator instance.

Fix codemodels.c test case (only test mcmodel-kernel on x86)
ClosedPublic

Authored by cmtice on Sep 21 2018, 4:03 PM.

Details

Summary

A recent commit I made broke aarch64 testing, because "kernel" apparently is not a valid code-model on aarch64, and one of my tests tested that. This fixes the problem (hopefully) by adding "-triple x86_64-unknown-linux-gnu" to the test build with "-mcodel-model kernel".

Diff Detail

Event Timeline

cmtice created this revision.Sep 21 2018, 4:03 PM
This revision is now accepted and ready to land.Sep 21 2018, 4:16 PM
echristo accepted this revision.Sep 21 2018, 4:19 PM
This revision was automatically updated to reflect the committed changes.