[all-commits] [llvm/llvm-project] 2520be: [Clang FE, SystemZ] Recognize -mrecord-mcount CL ...

Jonas Paulsson via All-commits all-commits at lists.llvm.org
Thu Dec 19 08:53:14 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2520bef865329d4c04e2de30c222ad0d5ad13ccc
      https://github.com/llvm/llvm-project/commit/2520bef865329d4c04e2de30c222ad0d5ad13ccc
  Author: Jonas Paulsson <paulsson at linux.vnet.ibm.com>
  Date:   2019-12-19 (Thu, 19 Dec 2019)

  Changed paths:
    M clang/include/clang/Basic/CodeGenOptions.def
    M clang/include/clang/Driver/Options.td
    M clang/lib/CodeGen/CodeGenFunction.cpp
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/lib/Frontend/CompilerInvocation.cpp
    A clang/test/CodeGen/mrecord-mcount.c

  Log Message:
  -----------
  [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




More information about the All-commits mailing list