On Tue, Mar 12, 2013 at 6:31 AM, Matthew Iselin <[email protected]> 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).
Dmitri
--
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <[email protected]>*/
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits