summaryrefslogtreecommitdiff
path: root/libdw/libdw.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2010-06-18 17:01:05 -0700
committerRoland McGrath <roland@redhat.com>2010-06-18 17:01:05 -0700
commitc70cf4e5e5a463b64673c4e80bcf60c938b437b4 (patch)
treeed91be0c7c849a50062300bdaa280834eff07e62 /libdw/libdw.h
parent4a87dfa1cc8dc8b6515e89690ee266e5e0381e5e (diff)
downloadelfutils-c70cf4e5e5a463b64673c4e80bcf60c938b437b4.tar.gz
Record new line table fields, export APIs to fetch them.
Diffstat (limited to 'libdw/libdw.h')
-rw-r--r--libdw/libdw.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/libdw/libdw.h b/libdw/libdw.h
index 75998e1a..766aa7ba 100644
--- a/libdw/libdw.h
+++ b/libdw/libdw.h
@@ -563,6 +563,9 @@ extern int dwarf_getsrc_file (Dwarf *dbg, const char *fname, int line, int col,
/* Return line address. */
extern int dwarf_lineaddr (Dwarf_Line *line, Dwarf_Addr *addrp);
+/* Return line VLIW operation index. */
+extern int dwarf_lineop_index (Dwarf_Line *line, unsigned int *op_indexp);
+
/* Return line number. */
extern int dwarf_lineno (Dwarf_Line *line, int *linep)
__nonnull_attribute__ (2);
@@ -591,6 +594,14 @@ extern int dwarf_lineprologueend (Dwarf_Line *line, bool *flagp)
extern int dwarf_lineepiloguebegin (Dwarf_Line *line, bool *flagp)
__nonnull_attribute__ (2);
+/* Return instruction-set architecture in this record. */
+extern int dwarf_lineisa (Dwarf_Line *line, unsigned int *isap)
+ __nonnull_attribute__ (2);
+
+/* Return code path discriminator in this record. */
+extern int dwarf_linediscriminator (Dwarf_Line *line, unsigned int *discp)
+ __nonnull_attribute__ (2);
+
/* Find line information for address. */
extern const char *dwarf_linesrc (Dwarf_Line *line,