libctf: hashing
authorNick Alcock <nick.alcock@oracle.com>
Tue, 23 Apr 2019 21:12:16 +0000 (22:12 +0100)
committerNick Alcock <nick.alcock@oracle.com>
Tue, 28 May 2019 16:07:29 +0000 (17:07 +0100)
commitc0754cdd9af6d8259eac5c9daad9f9b0611358dd
tree625374afe71c3246193da4a6c8be8df14d0859be
parent479604f44fc1eaa02a97ebcc1b60f55a606c4046
libctf: hashing

libctf maintains two distinct hash ADTs, one (ctf_dynhash) for wrapping
dynamically-generated unknown-sized hashes during CTF file construction,
one (ctf_hash) for wrapping unchanging hashes whose size is known at
creation time for reading CTF files that were previously created.

In the binutils implementation, these are both fairly thin wrappers
around libiberty hashtab.

Unusually, this code is not kept synchronized with libdtrace-ctf,
due to its dependence on libiberty hashtab.

libctf/
* ctf-hash.c: New file.
* ctf-impl.h: New declarations.
libctf/ChangeLog
libctf/ctf-hash.c [new file with mode: 0644]
libctf/ctf-impl.h
This page took 0.024896 seconds and 4 git commands to generate.