Commit 3cca99e8 by Michael Meissner

Add spaces in basic block output.

From-SVN: r5250
parent 92832bb5
...@@ -1427,20 +1427,20 @@ __bb_exit_func (void) ...@@ -1427,20 +1427,20 @@ __bb_exit_func (void)
for (i = 0; i < ncounts; i++) for (i = 0; i < ncounts; i++)
{ {
fprintf (file, fprintf (file,
" Block #%*d: executed %*ld time(s) address=0x%.*lx", " Block #%*d: executed %*ld time(s) address= 0x%.*lx",
blk_len, i+1, blk_len, i+1,
cnt_len, ptr->counts[i], cnt_len, ptr->counts[i],
addr_len, ptr->addresses[i]); addr_len, ptr->addresses[i]);
if (func_p) if (func_p)
fprintf (file, " function=%-*s", func_len, fprintf (file, " function= %-*s", func_len,
(ptr->functions[i]) ? ptr->functions[i] : "<none>"); (ptr->functions[i]) ? ptr->functions[i] : "<none>");
if (line_p) if (line_p)
fprintf (file, " line=%*d", line_len, ptr->line_nums[i]); fprintf (file, " line= %*d", line_len, ptr->line_nums[i]);
if (file_p) if (file_p)
fprintf (file, " file=%s", fprintf (file, " file= %s",
(ptr->filenames[i]) ? ptr->filenames[i] : "<none>"); (ptr->filenames[i]) ? ptr->filenames[i] : "<none>");
fprintf (file, "\n"); fprintf (file, "\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment