commit | 94d0a9154e9ec3df3398f11649c024ef8378b9c8 | [log] [tgz] |
---|---|---|
author | Matthias Braun <matze@braunis.de> | Wed Jan 13 01:18:13 2016 +0000 |
committer | Matthias Braun <matze@braunis.de> | Wed Jan 13 01:18:13 2016 +0000 |
tree | 115f2a8ed81d44d1ca6535e46eb3ebf0830e2681 | |
parent | 222a88109a74767391502810def760d2623dbcd7 [diff] |
AsmPrinter: Fix wrong OS X versions being emitted for darwin triples The version numbers of the darwin kernel are different from the version numbers of OS X, so we need adjustments if we had "*-*-darwin" triples. Use the existing utility functions in TargetTriple for this. Fixes rdar://22056966 Differential Revision: http://reviews.llvm.org/D14601 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257555 91177308-0d34-0410-b5e6-96231b3b80d8