summaryrefslogtreecommitdiff
path: root/output/dwarf.h
diff options
context:
space:
mode:
Diffstat (limited to 'output/dwarf.h')
-rw-r--r--output/dwarf.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/output/dwarf.h b/output/dwarf.h
new file mode 100644
index 0000000..18ce26e
--- /dev/null
+++ b/output/dwarf.h
@@ -0,0 +1,26 @@
+#ifndef OUTPUT_DWARF_H
+#define OUTPUT_DWARF_H
+
+#define DW_TAG_compile_unit 0x11
+#define DW_TAG_subprogram 0x2e
+#define DW_AT_name 0x03
+#define DW_AT_stmt_list 0x10
+#define DW_AT_low_pc 0x11
+#define DW_AT_high_pc 0x12
+#define DW_AT_language 0x13
+#define DW_AT_producer 0x25
+#define DW_AT_frame_base 0x40
+#define DW_FORM_addr 0x01
+#define DW_FORM_data2 0x05
+#define DW_FORM_data4 0x06
+#define DW_FORM_string 0x08
+#define DW_LNS_extended_op 0
+#define DW_LNS_advance_pc 2
+#define DW_LNS_advance_line 3
+#define DW_LNS_set_file 4
+#define DW_LNE_end_sequence 1
+#define DW_LNE_set_address 2
+#define DW_LNE_define_file 3
+#define DW_LANG_Mips_Assembler 0x8001
+
+#endif /* OUTPUT_DWARF_H */