[PATCH] clang-cl: Implement the -arch flag

Ehsan Akhgari ehsan.akhgari at gmail.com
Tue Jul 15 07:12:21 PDT 2014


Hi rnk,

This implements the -arch flag for both x86 and x86-64 by letting
them affect the default target features we pass to cc1.  -m machine
flags will override the features set by -arch.

http://reviews.llvm.org/D4519

Files:
  include/clang/Driver/CLCompatOptions.td
  lib/Driver/Tools.cpp
  test/Driver/cl-options.c
  test/Driver/cl-x86-flags.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4519.11440.patch
Type: text/x-patch
Size: 3747 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140715/cfbe57f6/attachment.bin>


More information about the cfe-commits mailing list