[Clang FE, SystemZ] Recognize -mrecord-mcount CL option.
authorJonas Paulsson <paulsson@linux.vnet.ibm.com>
Tue, 17 Dec 2019 20:00:43 +0000 (12:00 -0800)
committerJonas Paulsson <paulsson@linux.vnet.ibm.com>
Thu, 19 Dec 2019 16:51:55 +0000 (08:51 -0800)
commit2520bef865329d4c04e2de30c222ad0d5ad13ccc
tree43ec1d6be2bdce8cb5141cfe3faebb80e09d4660
parenta116f28a0d71c221c1dc023908b180beaf22799d
[Clang FE, SystemZ]  Recognize -mrecord-mcount CL option.

Recognize -mrecord-mcount from the command line and add a function attribute
"mrecord-mcount" when passed.

Only valid on SystemZ (when used with -mfentry).

Review: Ulrich Weigand
https://reviews.llvm.org/D71627
clang/include/clang/Basic/CodeGenOptions.def
clang/include/clang/Driver/Options.td
clang/lib/CodeGen/CodeGenFunction.cpp
clang/lib/Driver/ToolChains/Clang.cpp
clang/lib/Frontend/CompilerInvocation.cpp
clang/test/CodeGen/mrecord-mcount.c [new file with mode: 0644]