diff options
author | Nick Alcock <nick.alcock@oracle.com> | 2020-06-03 13:23:42 +0100 |
---|---|---|
committer | Nick Alcock <nick.alcock@oracle.com> | 2020-07-22 17:57:48 +0100 |
commit | 9850ce4d7bb89d4f9216dd5eebc88156bf31b70b (patch) | |
tree | 76da014bb6484adce339dc3d24fa3fee4b971907 /libctf/ChangeLog | |
parent | 2c9ca36be17839467dc88dd8c857bb3226f782e6 (diff) | |
download | gdb-9850ce4d7bb89d4f9216dd5eebc88156bf31b70b.zip gdb-9850ce4d7bb89d4f9216dd5eebc88156bf31b70b.tar.gz gdb-9850ce4d7bb89d4f9216dd5eebc88156bf31b70b.tar.bz2 |
libctf: add ctf_forwardable_kind
The internals of the deduplicator want to know if something is a type
that can have a forward to it fairly often, often enough that inlining
it brings a noticeable performance gain. Convert the one place in
libctf that can already benefit, even though it doesn't bring any sort
of performance gain there.
libctf/
* ctf-inlines.h (ctf_forwardable_kind): New.
* ctf-create.c (ctf_add_forward): Use it.
Diffstat (limited to 'libctf/ChangeLog')
-rw-r--r-- | libctf/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libctf/ChangeLog b/libctf/ChangeLog index b3a816c..c22cba0 100644 --- a/libctf/ChangeLog +++ b/libctf/ChangeLog @@ -1,5 +1,10 @@ 2020-07-22 Nick Alcock <nick.alcock@oracle.com> + * ctf-inlines.h (ctf_forwardable_kind): New. + * ctf-create.c (ctf_add_forward): Use it. + +2020-07-22 Nick Alcock <nick.alcock@oracle.com> + * ctf-impl.h (ctf_get_ctt_size): Move definition from here... * ctf-inlines.h (ctf_get_ctt_size): ... to here. |