[PATCH] D37624: add support for -fno-instrument-functions and -finstrument-functions-exclude-{file, function}-list=<arg1, arg2, ...> to match gcc options.
David Majnemer via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Sep 30 19:58:44 PDT 2017
majnemer added inline comments.
================
Comment at: lib/CodeGen/CodeGenFunction.cpp:455
+ for (const auto &FileMatch : PathSearch) {
+ if(FunctionDeclPath.find(FileMatch) != std::string::npos) {
+ return false;
----------------
Space after if.
================
Comment at: lib/CodeGen/CodeGenFunction.cpp:473
+ for (const auto &FuncMatch : FunctionSearch) {
+ if(FunctionName.find(FuncMatch) != std::string::npos) {
+ return false;
----------------
Ditto.
https://reviews.llvm.org/D37624
More information about the cfe-commits
mailing list