[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 14:23:43 PST 2015


Address review comments.

In summary, this patch makes the following changes:

- Change ModuleLinker to stop issuing a warning when the Triple objects compare equal even when the triple strings differ.
- On Apple platforms, choose the triple that has the larger version number.


http://reviews.llvm.org/D7591

Files:
  include/llvm/ADT/Triple.h
  lib/Linker/LinkModules.cpp
  lib/Support/Triple.cpp
  test/Linker/Inputs/apple-version/1.ll
  test/Linker/Inputs/apple-version/2.ll
  test/Linker/Inputs/apple-version/3.ll
  test/Linker/Inputs/apple-version/4.ll
  test/Linker/Inputs/targettriple-a.ll
  test/Linker/Inputs/targettriple-b.ll
  test/Linker/Inputs/targettriple-c.ll
  test/Linker/apple-version.ll
  test/Linker/targettriple.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7591.19858.patch
Type: text/x-patch
Size: 8201 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150212/a2771c14/attachment.bin>


More information about the llvm-commits mailing list