This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/18141] massive perf issue trying to lookup namespaces in STRUCT_DOMAIN with gdb_index


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

--- Comment #4 from dje at google dot com ---
(In reply to dje from comment #3)
> Found another related perf issue, this time with this line in
> cp_lookup_rtti_type:
> 
> rtti_sym = lookup_symbol (name, block, STRUCT_DOMAIN, NULL);
> 
> classes are in VAR_DOMAIN, not STRUCT_DOMAIN

Sorry, worded that poorly.
In this case NAME is a typedef, which live in VAR_DOMAIN.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]