drgn/tests
Omar Sandoval cf9a068820 libdrgn/python: fix reference counting on Type.members and Type.parameters
The TypeMember and TypeParameter instances referring to a libdrgn
drgn_lazy_type are only valid as long as the Type containing them is
still alive. Hold a reference on the containing Type from LazyType. We
can do this without growing LazyType by getting rid of the enum state
and using sentinel values for LazyType::lazy_type as the state.

Signed-off-by: Omar Sandoval <osandov@osandov.com>
2020-12-15 14:09:12 -08:00
..
helpers libdrgn: linux kernel: remove THREAD_SIZE object finder 2020-12-10 02:08:13 -08:00
__init__.py Fix trailing commas for Black v20.8b1 2020-08-27 11:31:29 -07:00
dwarf.py Add DW_LANG to generated dwarf.py 2020-02-26 19:55:42 -08:00
dwarfwriter.py Fix trailing commas for Black v20.8b1 2020-08-27 11:31:29 -07:00
elf.py Update copyright headers to Facebook and add missing headers 2020-05-15 15:13:02 -07:00
elfwriter.py Fix trailing commas for Black v20.8b1 2020-08-27 11:31:29 -07:00
libdrgn.py Format imports with isort 2020-08-20 16:55:07 -07:00
test_docs.py Update copyright headers to Facebook and add missing headers 2020-05-15 15:13:02 -07:00
test_dwarf.py libdrgn/python: fix reference counting on Type.members and Type.parameters 2020-12-15 14:09:12 -08:00
test_language_c.py Fix trailing commas for Black v20.8b1 2020-08-27 11:31:29 -07:00
test_lexer.py Format imports with isort 2020-08-20 16:55:07 -07:00
test_object.py Remove bit_offset from value objects 2020-12-14 12:29:17 -08:00
test_path.py Update copyright headers to Facebook and add missing headers 2020-05-15 15:13:02 -07:00
test_platform.py Update copyright headers to Facebook and add missing headers 2020-05-15 15:13:02 -07:00
test_program.py Fix trailing commas for Black v20.8b1 2020-08-27 11:31:29 -07:00
test_python.py Format imports with isort 2020-08-20 16:55:07 -07:00
test_serialize.py Format imports with isort 2020-08-20 16:55:07 -07:00
test_type.py libdrgn: fix comparison of types with anonymous members 2020-10-08 17:32:46 -07:00
test_util.py Update copyright headers to Facebook and add missing headers 2020-05-15 15:13:02 -07:00