Patchwork LTO: Remove left over debugging fprintf in lto-plugin

login
register
mail settings
Submitter Andi Kleen
Date July 27, 2010, 2:51 p.m.
Message ID <20100727145145.GA32159@basil.fritz.box>
Download mbox | patch
Permalink /patch/60144/
State New
Headers show

Comments

Andi Kleen - July 27, 2010, 2:51 p.m.
LTO: Remove left over debugging fprintf in lto-plugin

I forgot a debugging fprintf in the lto plugin changes. Remove that.
I guess the patch is obvious?

Passed bootstrap and test suite run x86_64-linux

-Andi


2010-07-27  Andi Kleen <ak@linux.intel.com>

	* lto-plugin.c (translate): Remove debug fprintf.
Richard Guenther - July 28, 2010, 2:12 p.m.
On Tue, Jul 27, 2010 at 4:51 PM, Andi Kleen <andi@firstfloor.org> wrote:
> LTO: Remove left over debugging fprintf in lto-plugin
>
> I forgot a debugging fprintf in the lto plugin changes. Remove that.
> I guess the patch is obvious?
>
> Passed bootstrap and test suite run x86_64-linux

Ok.

Thanks,
Richard.

> -Andi
>
>
> 2010-07-27  Andi Kleen <ak@linux.intel.com>
>
>        * lto-plugin.c (translate): Remove debug fprintf.
>
> Index: lto-plugin/lto-plugin.c
> ===================================================================
> --- lto-plugin/lto-plugin.c     (revision 162566)
> +++ lto-plugin/lto-plugin.c     (working copy)
> @@ -212,8 +212,6 @@
>       data = parse_table_entry (data, &syms[n], &aux[n]);
>     }
>
> -  fprintf (stderr, "n = %d len = %d end-data=%lu\n", n, len,
> -          (unsigned long) (end - data));
>   assert(n < len);
>
>   out->nsyms = n;
>

Patch

Index: lto-plugin/lto-plugin.c
===================================================================
--- lto-plugin/lto-plugin.c	(revision 162566)
+++ lto-plugin/lto-plugin.c	(working copy)
@@ -212,8 +212,6 @@ 
       data = parse_table_entry (data, &syms[n], &aux[n]);
     }
 
-  fprintf (stderr, "n = %d len = %d end-data=%lu\n", n, len,
-	   (unsigned long) (end - data));
   assert(n < len);
 
   out->nsyms = n;