[PATCH] D37624: add support for -fno-instrument-functions and -finstrument-functions-exclude-{file, function}-list=<arg1, arg2, ...> to match gcc options.

Hal Finkel via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Sep 30 18:49:27 PDT 2017

hfinkel added inline comments.

Comment at: test/CodeGenCXX/instrument-functions.cpp:8
+// RUN: %clang -S -emit-llvm -o - %s -finstrument-functions -finstrument-functions-exclude-function-list=test3 | FileCheck %s --check-prefix=NOFUNC
+// RUN: %clang -S -emit-llvm -o - %s -finstrument-functions -finstrument-functions-exclude-function-list=Z5test3 | FileCheck %s --check-prefix=NOFUNC2
I'm a bit confused about this test. Are you trying to match against the mangled names, or the demangled names, or both?


More information about the cfe-commits mailing list