[all-commits] [llvm/llvm-project] fc6057: [Frontend] Replace CC1 option -mcode-model with -m...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Fri Feb 21 23:11:46 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: fc6057e34fb3b1cfbbfcd5d71ae25ba24eb3ffa3
https://github.com/llvm/llvm-project/commit/fc6057e34fb3b1cfbbfcd5d71ae25ba24eb3ffa3
Author: Fangrui Song <maskray at google.com>
Date: 2020-02-21 (Fri, 21 Feb 2020)
Changed paths:
M clang/include/clang/Driver/CC1Options.td
M clang/include/clang/Driver/Options.td
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/lib/Frontend/CompilerInvocation.cpp
M clang/test/CodeGen/codemodels.c
R clang/test/Driver/code-model.c
A clang/test/Driver/mcmodel.c
M llvm/docs/Extensions.rst
Log Message:
-----------
[Frontend] Replace CC1 option -mcode-model with -mcmodel=
Before:
% clang -mcmodel=x -xc /dev/null
error: invalid argument 'x' in '-mcode-model x'
Now:
% clang -mcmodel=x -xc /dev/null
clang-11: error: invalid argument 'x' to -mcmodel=
More information about the All-commits
mailing list