[PATCH] [LinkModules] Intelligently merge triples that differ only in the minimum version number if the vendor is apple
Akira Hatanaka
ahatanak at gmail.com
Thu Feb 12 08:22:09 PST 2015
Hi dexonsmith,
Currently, when we merge two triples that differ only in the minimum version number, we give a warning such as:
WARNING: Linking two modules of different target triples: 'thumbv7-apple-ios8.0.0' and 'thumbv7-apple-ios3.0.0'
This patch fixes LinkModules to stop warning and pick the triple with the larger version number in such case.
rdar://problem/16743513
http://reviews.llvm.org/D7591
Files:
include/llvm/ADT/Triple.h
lib/Linker/LinkModules.cpp
test/Linker/apple-version0.ll
test/Linker/apple-version1.ll
test/Linker/apple-version2.ll
test/Linker/apple-version3.ll
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7591.19834.patch
Type: text/x-patch
Size: 5260 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150212/174597c7/attachment.bin>
More information about the llvm-commits
mailing list