[PATCH] D39331: Switch -mcount and -finstrument-functions to emit EnterExitInstrumenter attributes

Hans Wennborg via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 14 10:58:12 PST 2017


hans updated this revision to Diff 122878.
hans retitled this revision from "Add flags to control the -finstrument-functions instrumentation calls to __cyg_profile functions" to "Switch -mcount and -finstrument-functions to emit EnterExitInstrumenter attributes".
hans edited the summary of this revision.
hans added a comment.

Minor updates to the diff, updating the description to match the new approach.

Please take a look.


https://reviews.llvm.org/D39331

Files:
  include/clang/Driver/Options.td
  include/clang/Frontend/CodeGenOptions.def
  lib/CodeGen/CodeGenFunction.cpp
  lib/CodeGen/CodeGenFunction.h
  lib/Driver/ToolChains/Clang.cpp
  lib/Frontend/CompilerInvocation.cpp
  test/CodeGen/instrument-functions.c
  test/CodeGen/mcount.c
  test/CodeGen/x86_64-instrument-functions.c
  test/CodeGenCXX/instrument-functions.cpp
  test/Frontend/gnu-mcount.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39331.122878.patch
Type: text/x-patch
Size: 18874 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171114/e4a6b49f/attachment-0001.bin>


More information about the cfe-commits mailing list