[PATCH] D71627: [Clang FE, SystemZ] Recognize -mrecord-mcount CL option.

Jonas Paulsson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 17 13:56:35 PST 2019


jonpa created this revision.
jonpa added a reviewer: uweigand.

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

Only valid on SystemZ when used with -mfentry.


https://reviews.llvm.org/D71627

Files:
  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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71627.234383.patch
Type: text/x-patch
Size: 4878 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191217/a2cb3686/attachment.bin>


More information about the llvm-commits mailing list