diff options
author | Ziang Wan <ziangw2@illinois.edu> | 2019-06-25 23:57:14 +0000 |
---|---|---|
committer | Ziang Wan <ziangw2@illinois.edu> | 2019-06-25 23:57:14 +0000 |
commit | 0adc2e56cb807367f40b6862d4e82e15f7ff12fa (patch) | |
tree | 2b14fbdc2f129fdf7249907952530519767ac1c8 /docs/CommandGuide/clang.rst | |
parent | 7b34212e8613fbf7a7c06ddc6f46bb80a4ee7f2c (diff) | |
download | clang-0adc2e56cb807367f40b6862d4e82e15f7ff12fa.tar.gz |
print-supported-cpus quality of life patch.
Claim all input files so that clang does not give a warning. Add two
short-cut aliases: -mcpu=? and -mtune=?.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@364362 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/CommandGuide/clang.rst')
-rw-r--r-- | docs/CommandGuide/clang.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/CommandGuide/clang.rst b/docs/CommandGuide/clang.rst index f511022dd7..7b0873600f 100644 --- a/docs/CommandGuide/clang.rst +++ b/docs/CommandGuide/clang.rst @@ -330,6 +330,10 @@ number of cross compilers, or may only support a native target. through --target=<architecture> or -arch <architecture>). If no target is specified, the system default target will be used. +.. option:: -mcpu=?, -mtune=? + + Aliases of --print-supported-cpus + .. option:: -march=<cpu> Specify that Clang should generate code for a specific processor family |