libabigail/include
Dodji Seketeli 90dae34855 ir: Fix getting the translation unit for an ABI artifact
Sometimes when the current translation unit is not yet set for a given
artifact, we can infer it by getting the translation unit of the scope
of the artifact.  This patch performs that inference when the
translation unit is not yet set for the current artifact.

	* include/abg-fwd.h (get_translation_unit): Take a
	type_or_decl_base parameter, not a decl_base.
	* src/abg-ir.cc (get_translation_unit): Likewise.  If no
	translation has yet been associated with the ABI artifact, get it
	from its scope.
	(type_or_decl_base::get_corpus): Use the new get_translation_unit.
	(maybe_set_translation_unit): Assert that the translation unit is
	non-nil.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
2024-08-14 14:10:33 +02:00
..
abg-btf-reader.h Update Copyright for year 2024 2024-04-26 15:29:50 +02:00
abg-comp-filter.h Update Copyright for year 2024 2024-04-26 15:29:50 +02:00
abg-comparison.h Use smart pointers for variables exported from the ABI corpus 2024-08-14 14:05:54 +02:00
abg-config.h Update Copyright for year 2024 2024-04-26 15:29:50 +02:00
abg-corpus.h Use smart pointers for variables exported from the ABI corpus 2024-08-14 14:05:54 +02:00
abg-ctf-reader.h Update Copyright for year 2024 2024-04-26 15:29:50 +02:00
abg-cxx-compat.h Update Copyright for year 2024 2024-04-26 15:29:50 +02:00
abg-diff-utils.h Update Copyright for year 2024 2024-04-26 15:29:50 +02:00
abg-dwarf-reader.h Update Copyright for year 2024 2024-04-26 15:29:50 +02:00
abg-elf-based-reader.h Update Copyright for year 2024 2024-04-26 15:29:50 +02:00
abg-elf-reader.h Update Copyright for year 2024 2024-04-26 15:29:50 +02:00
abg-fe-iface.h Use smart pointers for variables exported from the ABI corpus 2024-08-14 14:05:54 +02:00
abg-fwd.h ir: Fix getting the translation unit for an ABI artifact 2024-08-14 14:10:33 +02:00
abg-hash.h Update Copyright for year 2024 2024-04-26 15:29:50 +02:00
abg-ini.h Update Copyright for year 2024 2024-04-26 15:29:50 +02:00
abg-interned-str.h Update Copyright for year 2024 2024-04-26 15:29:50 +02:00
abg-ir.h Use smart pointers for variables exported from the ABI corpus 2024-08-14 14:05:54 +02:00
abg-libxml-utils.h Update Copyright for year 2024 2024-04-26 15:29:50 +02:00
abg-reader.h Update Copyright for year 2024 2024-04-26 15:29:50 +02:00
abg-regex.h Update Copyright for year 2024 2024-04-26 15:29:50 +02:00
abg-reporter.h Update Copyright for year 2024 2024-04-26 15:29:50 +02:00
abg-sptr-utils.h Update Copyright for year 2024 2024-04-26 15:29:50 +02:00
abg-suppression.h Update Copyright for year 2024 2024-04-26 15:29:50 +02:00
abg-tools-utils.h Update Copyright for year 2024 2024-04-26 15:29:50 +02:00
abg-traverse.h Update Copyright for year 2024 2024-04-26 15:29:50 +02:00
abg-version.h.in abidw: Add --abixml-version 2021-11-12 18:31:28 +01:00
abg-viz-common.h Update Copyright for year 2024 2024-04-26 15:29:50 +02:00
abg-viz-dot.h Update Copyright for year 2024 2024-04-26 15:29:50 +02:00
abg-viz-svg.h Update Copyright for year 2024 2024-04-26 15:29:50 +02:00
abg-workers.h Update Copyright for year 2024 2024-04-26 15:29:50 +02:00
abg-writer.h Update Copyright for year 2024 2024-04-26 15:29:50 +02:00
Makefile.am Add support for BTF 2023-01-06 21:05:53 +01:00