]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb/dwarf: add unit_lists structure to index writer
authorSimon Marchi <simon.marchi@polymtl.ca>
Sat, 17 Jan 2026 06:02:35 +0000 (01:02 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Tue, 20 Jan 2026 20:57:55 +0000 (15:57 -0500)
commit32e8eada39d64dc6bfb38f9a227e3aea653795c0
tree3cb74075c8a3e898b06dba102dfcb045a005f790
parent23f0876b43150fa1d5ea70b053629ad4c59fb2cf
gdb/dwarf: add unit_lists structure to index writer

I think it makes the code more readable than the pair of vector.  Also,
I'm considering adding a third list (foreigh type units), which will be
easier with the structure.

Change-Id: I38ec4ddf8f786a2ba10c5b371cfe04c2baaa7da9
Approved-By: Tom Tromey <tom@tromey.com>
gdb/dwarf2/index-write.c