[llvm-commits] [llvm-gcc-4.2] r53130 - /llvm-gcc-4.2/trunk/gcc/cgraphunit.c

Daniel Berlin dberlin at dberlin.org
Sun Jul 6 11:06:17 PDT 2008


> at we should not emit them: there
> are many workarounds for real debugging hooks, and developers who have
> ever used or cared about G++ 4.0 are already using them.

This is true even inside gcc itself.
Debug functions these days usually look like


void debug_pre_expr (pre_expr);

/* Like print_pre_expr but always prints to stderr.  */
void
debug_pre_expr (pre_expr e)
{
  print_pre_expr (stderr, e);
  fprintf (stderr, "\n");
}


to avoid exactly this problem.



More information about the llvm-commits mailing list