Remove addrmap wrapper functions

This removes the various addrmap wrapper functions in favor of simple
method calls on the objects themselves.
This commit is contained in:
Tom Tromey
2022-04-16 09:30:53 -06:00
parent 1b3261edfb
commit 769520b7e5
11 changed files with 84 additions and 139 deletions

View File

@@ -666,7 +666,7 @@ objfile_relocate1 (struct objfile *objfile,
int block_line_section = cust->block_line_section ();
if (bv->map () != nullptr)
addrmap_relocate (bv->map (), delta[block_line_section]);
bv->map ()->relocate (delta[block_line_section]);
for (block *b : bv->blocks ())
{