]> granicus.if.org Git - clang/commit
clang-cl: Implement the -arch flag
authorEhsan Akhgari <ehsan.akhgari@gmail.com>
Tue, 15 Jul 2014 18:27:51 +0000 (18:27 +0000)
committerEhsan Akhgari <ehsan.akhgari@gmail.com>
Tue, 15 Jul 2014 18:27:51 +0000 (18:27 +0000)
commita1c54775580e7d9020502a5ea873571a20b701fb
tree9fa7d602e97fdaa7953c27a5d3fee21f835ccfa9
parentfc675fb87a1f0b7ece7f20ccda880464fa8c6a33
clang-cl: Implement the -arch flag

Summary:
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.

Reviewers: hansw

Subscribers: cfe-commits

Differential Revision: http://reviews.llvm.org/D4519

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@213083 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/CLCompatOptions.td
lib/Driver/Tools.cpp
test/Driver/cl-options.c
test/Driver/cl-x86-flags.c