This is an archive of the discontinued LLVM Phabricator instance.

Make test/Driver/darwin-sdk-version.c pass if the host triple is 32-bit
ClosedPublic

Authored by thakis on Dec 24 2018, 12:10 PM.

Details

Summary

For some reason, the cmake build on my macbook has LLVM_HOST_TRIPLE:STRING=i386-apple-darwin16.7.0 . test/Driver/darwin-sdk-version.c assumed that the host triple is 64-bit, so make it resilient against 32-bit host triples.

Diff Detail

Repository
rL LLVM

Event Timeline

thakis created this revision.Dec 24 2018, 12:10 PM
thakis added a comment.Jan 2 2019, 9:37 AM

arphaman: 2019 ping :-)

arphaman accepted this revision.Jan 2 2019, 1:23 PM

LGTM

This revision is now accepted and ready to land.Jan 2 2019, 1:23 PM
This revision was automatically updated to reflect the committed changes.