]> granicus.if.org Git - clang/commit
[RISCV] Add option aliases: -mcmodel=medany and -mcmodel=medlow
authorKito Cheng <kito.cheng@gmail.com>
Tue, 17 Sep 2019 08:19:17 +0000 (08:19 +0000)
committerKito Cheng <kito.cheng@gmail.com>
Tue, 17 Sep 2019 08:19:17 +0000 (08:19 +0000)
commit88c01a9d02e08086ef46b1f3090a13edb67e0dd5
treeba9d5e175a853341ac54e80d7b910bd0c0e34a6f
parent4f5495d1369407d0798c577d0c47d5d2ce990d45
[RISCV] Add option aliases: -mcmodel=medany and -mcmodel=medlow

RISC-V GCC use -mcmodel=medany and -mcmodel=medlow, but LLVM use
-mcmodel=small and -mcmodel=medium.

Add those two option aliases for provide same user interface between
GCC and LLVM.

Reviewed By: lenary

Differential Revision: https://reviews.llvm.org/D67066

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@372080 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/Options.td
test/Preprocessor/riscv-cmodel.c