From 6ef284f1d464c08bc420048a0b211080cb9fe009 Mon Sep 17 00:00:00 2001 From: John Levon Date: Thu, 11 Apr 2019 14:03:27 +0000 Subject: 10823 should ignore DW_TAG_subprogram with DW_AT_declaration tags 10824 GCC7-derived CTF can double qualifiers on arrays 10825 ctfdump -c drops last type 10826 ctfdump -c goes off the rails with a missing parent Reviewed by: Robert Mustacchi Reviewed by: Jerry Jelinek Reviewed by: Jason King Approved by: Gordon Ross --- usr/src/common/ctf/ctf_impl.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'usr/src/common/ctf/ctf_impl.h') diff --git a/usr/src/common/ctf/ctf_impl.h b/usr/src/common/ctf/ctf_impl.h index 93a85a8b4f..b82fb7e36e 100644 --- a/usr/src/common/ctf/ctf_impl.h +++ b/usr/src/common/ctf/ctf_impl.h @@ -25,7 +25,7 @@ * Use is subject to license terms. */ /* - * Copyright (c) 2015, Joyent, Inc. All rights reserved. + * Copyright 2019, Joyent, Inc. */ #ifndef _CTF_IMPL_H @@ -315,6 +315,9 @@ extern ctf_id_t ctf_add_reftype(ctf_file_t *, uint_t, const char *, ctf_id_t, extern boolean_t ctf_sym_valid(uintptr_t, int, uint16_t, uint64_t, uint32_t); +extern const ctf_type_t *ctf_dyn_lookup_by_id(ctf_file_t *, ctf_id_t); +extern int ctf_dyn_array_info(ctf_file_t *, ctf_id_t, ctf_arinfo_t *); + extern const char _CTF_SECTION[]; /* name of CTF ELF section */ extern const char _CTF_NULLSTR[]; /* empty string */ -- cgit v1.2.3