[PATCH] D130161: Added command-line options to exclude functions from function instrumentation output.
Jacques Légaré via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 20 05:34:55 PDT 2022
jlegare created this revision.
Herald added a project: All.
jlegare requested review of this revision.
Herald added subscribers: cfe-commits, MaskRay.
Herald added a project: clang.
Two options have been added: -finstrument-functions-exclude-function-list and -finstrument-functions-exclude-file-list.
The first can be used to exclude functions by name, and the second can be used to exclude a function by the
file name where its definition occurs. Both options take a comma-separated list of values as their argument. By-name
exclusion is done on the demangled name.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D130161
Files:
clang/docs/ClangCommandLineReference.rst
clang/include/clang/Basic/CodeGenOptions.h
clang/include/clang/Driver/Options.td
clang/lib/CodeGen/CodeGenFunction.cpp
clang/lib/CodeGen/CodeGenFunction.h
clang/lib/Driver/ToolChains/Clang.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130161.446122.patch
Type: text/x-patch
Size: 6840 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220720/b5700a97/attachment-0001.bin>
More information about the cfe-commits
mailing list