This is the mail archive of the gdb-patches@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]

Re: [RFC] Use custom hash function with bcache


On 08/16/2010 04:03 PM, Daniel Jacobowitz wrote:
On Mon, Aug 16, 2010 at 03:50:17PM -0400, sami wagiaalla wrote:
I only took into consideration the values which are set by
add_psymbol_to_bcache. The assumption is that these are the only
values that will make a difference since they are the only values
available when calculating the hash.

Interesting, I didn't remember about add_psymbol_to_bcache. I'd better back up - what are you accomplishing by this change?


A previous patch of mine introduced a bcache regression :D. The patch made cplus_specifc a pointer to an allocated struct. This is because we wanted to store more information in cplus_specific without penalizing the other other languages. With cplus_specific being a pointer hashing the whole symbol didn't work anymore. This patch is an attempt to fix that.



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