RISC-V GCC use -mcmodel=medany and -mcmodel=medlow, but LLVM use -mcmodel=small and -mcmodel=medium.
Add those two option aliases to provide same user interface between GCC and LLVM.
Paths
| Differential D67066
[RISCV] Add option aliases: -mcmodel=medany and -mcmodel=medlow ClosedPublic Authored by kito-cheng on Sep 2 2019, 2:14 AM.
Details Summary RISC-V GCC use -mcmodel=medany and -mcmodel=medlow, but LLVM use -mcmodel=small and -mcmodel=medium. Add those two option aliases to provide same user interface between GCC and LLVM.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Sep 12 2019, 5:40 AM Closed by commit rL372080: [RISCV] Add option aliases: -mcmodel=medany and -mcmodel=medlow (authored by kito). · Explain WhySep 17 2019, 1:18 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 220444 cfe/trunk/include/clang/Driver/Options.td
cfe/trunk/test/Preprocessor/riscv-cmodel.c
|