diff options
author | Nick Alcock <nick.alcock@oracle.com> | 2024-04-02 16:06:50 +0100 |
---|---|---|
committer | Nick Alcock <nick.alcock@oracle.com> | 2024-04-19 16:14:47 +0100 |
commit | 9049b960f2bc7f0cb9db80d255e9fbec9f476f0f (patch) | |
tree | 4532a9efb56ac06b2603ad8ef3759b1fb85e658f /COPYING | |
parent | 0ebf1bdeeda1612dbe8e092dca765527a741e462 (diff) | |
download | gdb-9049b960f2bc7f0cb9db80d255e9fbec9f476f0f.zip gdb-9049b960f2bc7f0cb9db80d255e9fbec9f476f0f.tar.gz gdb-9049b960f2bc7f0cb9db80d255e9fbec9f476f0f.tar.bz2 |
libctf: make ctf_lookup of symbols by name work in more cases
In particular, we don't need a symbol table if we're looking up a
symbol by name and that type of symbol has an indexed symtypetab,
since in that case we get the name from the symtypetab index, not
from the symbol table.
This lets you do symbol lookups in unlinked object files and unlinked
dicts written out via libctf's writeout functions.
libctf/
* ctf-lookup.c (ctf_lookup_by_sym_or_name): Allow lookups
by index even when there is no symtab.
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions