sim: Add some methods to create derived symbol tables.
authorGabe Black <gabeblack@google.com>
Wed, 22 Jan 2020 03:29:03 +0000 (19:29 -0800)
committerGabe Black <gabeblack@google.com>
Wed, 20 May 2020 02:37:54 +0000 (02:37 +0000)
commitfe974125d656dfb7b2ee2aa9c18bad1bb30a83bf
tree92b0e895f51135dadf9fe6c9c66ea3b596691a57
parent337c586eabb1f9c4a2cb3c4bf87d5baea8897c00
sim: Add some methods to create derived symbol tables.

These tables are based on passing the symbols in the current table
through some sort of operator function which can chose to add those
symbols, modified versions of those symbols, or nothing at all into a
new symbol table.

The new table is returned as a shared_ptr so its memory will be
managed automatically.

Change-Id: I8809336e2fc2fda63b16a0400536116ca852ca13
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/24786
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/base/loader/symtab.hh