[PATCH] Add -finstruments-functions-exclude-{file, function}-list options

Dmitri Gribenko gribozavr at gmail.com
Wed Mar 13 16:30:27 PDT 2013

On Tue, Mar 12, 2013 at 6:31 AM, Matthew Iselin <matthew at theiselins.net> wrote:
> This patch adds two options, -finstrument-functions-exclude-file-list= and -finstrument-functions-exclude-function=list=, which offer a means through which headers in various locations and individual functions can be excluded from instrumentation via -finstrument-functions. These options can be found in GCC alongside -finstrument-functions.

+  char *result = __cxa_demangle(Fn->getName().str().c_str(), 0, 0, &status);

Our correctness did not depend on host's cxa_demangle before...

There's also a fixme in compiler_rt about shipping our own
cxa_demangle in order not to leak memory (it is used inside
sanitizers, so it has special requirements about allocating memory).


(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/

More information about the cfe-commits mailing list