summaryrefslogtreecommitdiff
path: root/usr/src/common/ctf/ctf_impl.h
diff options
context:
space:
mode:
authorJohn Levon <john.levon@joyent.com>2019-04-11 14:03:27 +0000
committerJohn Levon <john.levon@joyent.com>2019-05-03 02:15:58 -0700
commit6ef284f1d464c08bc420048a0b211080cb9fe009 (patch)
tree899285312544e2f8939f8e248283cbd4ae45e6d2 /usr/src/common/ctf/ctf_impl.h
parent59d77acb140ef81a3e7784b472f41ff409b72114 (diff)
downloadillumos-gate-6ef284f1d464c08bc420048a0b211080cb9fe009.tar.gz
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 <rm@joyent.com> Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Jason King <jason.king@joyent.com> Approved by: Gordon Ross <gwr@nexenta.com>
Diffstat (limited to 'usr/src/common/ctf/ctf_impl.h')
-rw-r--r--usr/src/common/ctf/ctf_impl.h5
1 files changed, 4 insertions, 1 deletions
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 */