binutils-gdb/libctf
Nick Alcock 4fa4e3d92a libctf: delete LCTF_DIRTY
This flag was meant as an optimization to avoid reserializing dicts
unnecessarily.  It was critically necessary back when serialization was
done by ctf_update() and you had to call that every time you wanted any
new modifications to the type table to be usable by other types, but
that has been unnecessary for years now, and serialization is only done
once when writing out, which one would naturally assume would always
serialize the dict.  Worse, it never really worked: it only tracked
newly-added types, not things like added symbols which might equally
well require reserialization, and it gets in the way of an upcoming
change.  Delete entirely.

libctf/

	* ctf-create.c (ctf_create): Drop LCTF_DIRTY.
	(ctf_discard): Likewise.
	(ctf_rollback): Likewise.
	(ctf_add_generic): Likewise.
	(ctf_set_array): Likewise.
	(ctf_add_enumerator): Likewise.
	(ctf_add_member_offset): Likewise.
	(ctf_add_variable_forced): Likewise.
	* ctf-link.c (ctf_link_intern_extern_string): Likewise.
	(ctf_link_add_strtab): Likewise.
	* ctf-serialize.c (ctf_serialize): Likewise.
	* ctf-impl.h (LCTF_DIRTY): Likewise.
	(LCTF_LINKING): Renumber.
2024-04-19 16:14:46 +01:00
..
doc
testsuite libctf: support addition of types to dicts read via ctf_open() 2024-04-19 16:14:46 +01:00
.gitignore
aclocal.m4
ChangeLog
ChangeLog-2020
config.h.in
configure
configure.ac
ctf-archive.c libctf: don't leak the symbol name in the name->type cache 2024-04-19 16:14:45 +01:00
ctf-create.c libctf: delete LCTF_DIRTY 2024-04-19 16:14:46 +01:00
ctf-decl.c
ctf-decls.h
ctf-dedup.c
ctf-dump.c
ctf-endian.h
ctf-error.c
ctf-hash.c libctf: remove static/dynamic name lookup distinction 2024-04-19 16:14:46 +01:00
ctf-impl.h libctf: delete LCTF_DIRTY 2024-04-19 16:14:46 +01:00
ctf-inlines.h
ctf-intl.h
ctf-labels.c
ctf-link.c libctf: delete LCTF_DIRTY 2024-04-19 16:14:46 +01:00
ctf-lookup.c libctf: support addition of types to dicts read via ctf_open() 2024-04-19 16:14:46 +01:00
ctf-open-bfd.c
ctf-open.c libctf: support addition of types to dicts read via ctf_open() 2024-04-19 16:14:46 +01:00
ctf-qsort_r.c
ctf-serialize.c libctf: delete LCTF_DIRTY 2024-04-19 16:14:46 +01:00
ctf-sha1.c
ctf-sha1.h
ctf-string.c libctf: remove static/dynamic name lookup distinction 2024-04-19 16:14:46 +01:00
ctf-subr.c libctf: fix a comment 2024-04-19 16:14:46 +01:00
ctf-types.c libctf: support addition of types to dicts read via ctf_open() 2024-04-19 16:14:46 +01:00
ctf-util.c
elf.h
libctf.ver
Makefile.am
Makefile.in
NEWS
swap.h