diff options
| author | Chandler Carruth <chandlerc@gmail.com> | 2013-06-20 09:42:40 +0000 |
|---|---|---|
| committer | Chandler Carruth <chandlerc@gmail.com> | 2013-06-20 09:42:40 +0000 |
| commit | fbd4116c4287cba862fbf3ff77b4032cbe98f78a (patch) | |
| tree | 73f3f0f3e53f06bb2fbb5955e7f0d62143af3d8f /lib/CodeGen | |
| parent | 9122025df6682a29ba4bdfc4330d2caebb8ea4de (diff) | |
| download | clang-fbd4116c4287cba862fbf3ff77b4032cbe98f78a.tar.gz clang-fbd4116c4287cba862fbf3ff77b4032cbe98f78a.tar.bz2 clang-fbd4116c4287cba862fbf3ff77b4032cbe98f78a.tar.xz | |
Update two options to my proposed syntax for user-facing driver options:
-gcc-toolchain foo -> --gcc-toolchain=foo
-target foo -> --target=foo
I've added legacy aliases for the original spellings. I've updated the
canonical tests to check both spellings, and switched all of the
-gcc-toolchain usages elsewhere in the test suite to use the new one.
I've updated some of the usages of -target to the new syntax, but will
finish that in a separate entirely mechanical change once I'm sure this
won't get rolled back for some reason (It touches a *huge* number of RUN
lines in the test suite unsurprisingly).
A nice result is that the three most common flags I end up using when
doing cross compiles are all now consistent: --target=, --sysroot=, and
--gcc-toolchain=.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184408 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
0 files changed, 0 insertions, 0 deletions
