[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/28698] New: objdump is very slow in some cases
From: |
hjl.tools at gmail dot com |
Subject: |
[Bug binutils/28698] New: objdump is very slow in some cases |
Date: |
Wed, 15 Dec 2021 04:24:15 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=28698
Bug ID: 28698
Summary: objdump is very slow in some cases
Product: binutils
Version: 2.38 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: hjl.tools at gmail dot com
Target Milestone: ---
If a .o file has any symbols with many sections, objdump can be very
slow. There are several causes.
1. There is
if (sorted_symcount > 1)
qsort (sorted_syms, sorted_symcount, sizeof (asymbol *), compare_symbols);
is called on each text section. On a .o file with 139815 symbols and
148096 sections, each qsort can take a long time to run.
2. find_symbol_for_address also takes time to run.
--
You are receiving this mail because:
You are on the CC list for the bug.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug binutils/28698] New: objdump is very slow in some cases,
hjl.tools at gmail dot com <=