This is an archive of the discontinued LLVM Phabricator instance.

AsmPrinter: Fix wrong OS X versions being emitted for darwin triples
ClosedPublic

Authored by MatzeB on Nov 11 2015, 5:57 PM.

Details

Summary

The confusion arose when emitting a .macosx_version_min directive for a
"*-*-darwin" triple which needs version number adjustments.
Use the utility functions in TargetTriple for this.

Fixes rdar://22056966

Diff Detail

Repository
rL LLVM

Event Timeline

MatzeB updated this revision to Diff 39998.Nov 11 2015, 5:57 PM
MatzeB retitled this revision from to AsmPrinter: Fix wrong OS X versions being emitted for darwin triples.
MatzeB updated this object.
MatzeB added a reviewer: t.p.northover.
MatzeB set the repository for this revision to rL LLVM.
MatzeB added a subscriber: llvm-commits.

ping3

This should be an obvious patch and easy to review

t.p.northover accepted this revision.Jan 12 2016, 3:02 PM
t.p.northover edited edge metadata.

Sorry about the delay. I think this is OK.

Tim.

This revision is now accepted and ready to land.Jan 12 2016, 3:02 PM
This revision was automatically updated to reflect the committed changes.