This is an archive of the discontinued LLVM Phabricator instance.

[Driver] Replace one-off uses of default triples with effective triples (NFCI)
AcceptedPublic

Authored by vsk on Jul 28 2016, 3:12 PM.

Details

Summary

No functionality change is intended. This set of replacements is fairly
targeted -- hopefully this makes it easier to verify as NFC.

On my end, I tested this patch with a clang which supports all in-tree
targets.

This is part of on ongoing effort to use effective target triples
whenever we can in the clang driver (see: [cfe-dev] Lessening the
driver's reliance on default target triples).

Diff Detail

Event Timeline

vsk updated this revision to Diff 66034.Jul 28 2016, 3:12 PM
vsk retitled this revision from to [Driver] Replace one-off uses of default triples with effective triples (NFCI).
vsk updated this object.
vsk added reviewers: echristo, dexonsmith.
vsk added a subscriber: cfe-commits.
echristo accepted this revision.Aug 3 2016, 11:22 PM
echristo edited edge metadata.

OK, please go back and document in ToolChain.h the difference between the Triple and the EffectiveTriple - at length, as a follow on patch.

-eric

This revision is now accepted and ready to land.Aug 3 2016, 11:22 PM

Looks like patch was not committed.