]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb/dwarf: unique_ptr cleanup
authorSimon Marchi <simon.marchi@efficios.com>
Wed, 12 Feb 2025 15:52:53 +0000 (10:52 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Fri, 14 Feb 2025 18:17:35 +0000 (13:17 -0500)
commitf24d402bf8dd67af99c37384fdf900eea1698689
tree3ab9d81ef3771a9de17804e284d1f10467bb16f5
parent532268bf09d9d00f35192ca4aa94f39c84ee3c5b
gdb/dwarf: unique_ptr cleanup

Throughout gdb/dwarf2, use `*_up` typedefs.  Add a few missing typedefs,
and move some so they are, ideally, just after the corresponding class.

Change-Id: Iab5cd8fc2e9989d4bd8d4868586703c2312f254f
Approved-By: Tom Tromey <tom@tromey.com>
14 files changed:
gdb/buildsym.h
gdb/dwarf2/abbrev.h
gdb/dwarf2/cooked-index.c
gdb/dwarf2/cooked-index.h
gdb/dwarf2/cu.h
gdb/dwarf2/dwz.c
gdb/dwarf2/dwz.h
gdb/dwarf2/file-and-dir.h
gdb/dwarf2/index-cache.c
gdb/dwarf2/index-cache.h
gdb/dwarf2/line-header.h
gdb/dwarf2/mapped-index.h
gdb/dwarf2/read.c
gdb/dwarf2/read.h