[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
Sun Oct 1 13:17:08 PDT 2017

choikwa added a comment.

> Can you get more information on what GCC actually implemented and why? It's not clear to me that ignoring the namespaces is the most-useful way to do this. I don't want to emulate GCC bugs, but maybe there's a good reason why their implementation works this way.

This is what I found, https://gcc.gnu.org/ml/gcc-patches/2015-12/msg00473.html
Diff shows it doesn't seem to specially treat single quotes.

+    case OPT_finstrument_functions_include_function_list_:
+      add_comma_separated_to_vector
+	(&opts->x_flag_instrument_functions_include_functions, arg);
+      break;


More information about the cfe-commits mailing list