[PATCH] D37624: add support for -fno-instrument-functions and -finstrument-functions-exclude-{file, function}-list=<arg1, arg2, ...> to match gcc options.
kchoi via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 8 07:21:42 PDT 2017
choikwa created this revision.
Builds on previous Differential https://reviews.llvm.org/D2219
Changes include:
- Using unordered_map with SourceLocation.ID (raw encoding) as key
- Demangle only if !isExternC. Used dyn_cast<FunctionDecl>((Decl*)CurFuncDecl) for this
- Modified an existing C testcase to test for options.
https://reviews.llvm.org/D37624
Files:
docs/ClangCommandLineReference.rst
include/clang/Driver/Options.td
include/clang/Frontend/CodeGenOptions.h
lib/CodeGen/CodeGenFunction.cpp
lib/CodeGen/CodeGenFunction.h
lib/Driver/ToolChains/Clang.cpp
lib/Frontend/CompilerInvocation.cpp
test/CodeGen/instrument-functions.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37624.114360.patch
Type: text/x-patch
Size: 10967 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170908/b835bc2f/attachment-0001.bin>
More information about the cfe-commits
mailing list