bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/25180] New: Slowness in cplus_demangle()


From: tim.ruehsen at gmx dot de
Subject: [Bug binutils/25180] New: Slowness in cplus_demangle()
Date: Sat, 09 Nov 2019 18:58:10 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=25180

            Bug ID: 25180
           Summary: Slowness in cplus_demangle()
           Product: binutils
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: tim.ruehsen at gmx dot de
  Target Milestone: ---

The following code takes ~9 Minutes to finish while running at 100% on 1 CPU
core (3.4 GHz).

building:
- cd into libiberty/
- gcc x.c -o x libiberty.a
- ./x

#include "../include/demangle.h"
void main(void)
{
  const char *input =
"_ZZ1_DOaaaa1zmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm1Dclaa1D1VEE1VE2zo";

  cplus_demangle(input, DMGL_GNU_V3);
}

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]