]> granicus.if.org Git - clang/commit
[PATCH] [x32] Introduce -mx32 flag enforcing x32 mode for other triplets. By Pavel...
authorZinovy Nis <zinovy.nis@gmail.com>
Fri, 11 Jul 2014 14:28:45 +0000 (14:28 +0000)
committerZinovy Nis <zinovy.nis@gmail.com>
Fri, 11 Jul 2014 14:28:45 +0000 (14:28 +0000)
commit4257081b98be7745de8280b20d36e5703f53865f
treee77b664b40d9f91f05eeaa1649c69535e240c89f
parentacf4f8575fb9bd0ae3cb80d2cb22f80df1aa08ef
[PATCH] [x32] Introduce -mx32 flag enforcing x32 mode for other triplets. By Pavel Chupin (@pavel.v.chupin).

-mx32 flag setup target environment to GNUX32 and can be used for
other 32/64-bit triplets (i386-unknown-linux, x86_64-unknown-linux) to
turn on x32 mode. Compatible with GCC -mx32 flag.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@212817 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/Options.td
lib/Driver/Driver.cpp
test/Driver/linux-ld.c