Home | History | Annotate | Download | only in dwarf

Lines Matching defs:dwarf

19 #include "debug/dwarf/debug_frame_opcode_writer.h"
20 #include "debug/dwarf/debug_info_entry_writer.h"
21 #include "debug/dwarf/debug_line_opcode_writer.h"
22 #include "debug/dwarf/dwarf_constants.h"
23 #include "debug/dwarf/headers.h"
27 namespace dwarf {
248 // DWARF has special one byte codes which advance PC and line at the same time.
291 info.StartTag(dwarf::DW_TAG_compile_unit);
293 info.WriteStrp(dwarf::DW_AT_producer, "Compiler name", &debug_str_data_);
295 info.WriteAddr(dwarf::DW_AT_low_pc, 0x01000000);
297 info.WriteAddr(dwarf::DW_AT_high_pc, 0x02000000);
299 info.StartTag(dwarf::DW_TAG_subprogram);
301 info.WriteStrp(dwarf::DW_AT_name, "Foo", &debug_str_data_);
303 info.WriteAddr(dwarf::DW_AT_low_pc, 0x01010000);
305 info.WriteAddr(dwarf::DW_AT_high_pc, 0x01020000);
308 info.StartTag(dwarf::DW_TAG_subprogram);
310 info.WriteStrp(dwarf::DW_AT_name, "Bar", &debug_str_data_);
312 info.WriteAddr(dwarf::DW_AT_low_pc, 0x01020000);
314 info.WriteAddr(dwarf::DW_AT_high_pc, 0x01030000);
319 info.StartTag(dwarf::DW_TAG_compile_unit);
337 dwarf::WriteDebugInfoCU(0 /* debug_abbrev_offset */, info,
346 } // namespace dwarf