From c70cf4e5e5a463b64673c4e80bcf60c938b437b4 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 18 Jun 2010 17:01:05 -0700 Subject: Record new line table fields, export APIs to fetch them. --- libdw/libdw.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'libdw/libdw.h') 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, -- cgit v1.2.1