search for: addrsize

Displaying 4 results from an estimated 4 matches for "addrsize".

Did you mean: add_size
2016 Nov 17
3
DWARF Generator
...he AsmPrinter version of the DWARF generator with code like: initLLVM(); DwarfGen DG; Triple Triple("x86_64--"); StringRef Path("/tmp/test.elf"); bool DwarfInitSuccess = DG.init(Triple, Path); EXPECT_TRUE(DwarfInitSuccess); uint16_t Version = 4; uint8_t AddrSize = 8; DwarfGenCU &CU = DG.appendCompileUnit(Version, AddrSize); DwarfGenDIE CUDie = CU.getUnitDIE(); CUDie.addAttribute(DW_AT_name, DW_FORM_strp, "/tmp/main.c"); CUDie.addAttribute(DW_AT_language, DW_FORM_data2, DW_LANG_C); DwarfGenDIE SubprogramDie = CUDie.addChild(DW...
2016 Nov 18
4
DWARF Generator
...code like: > > > initLLVM(); > DwarfGen DG; > Triple Triple("x86_64--"); > StringRef Path("/tmp/test.elf"); > bool DwarfInitSuccess = DG.init(Triple, Path); > EXPECT_TRUE(DwarfInitSuccess); > uint16_t Version = 4; > uint8_t AddrSize = 8; > DwarfGenCU &CU = DG.appendCompileUnit(Version, AddrSize); > DwarfGenDIE CUDie = CU.getUnitDIE(); > > CUDie.addAttribute(DW_AT_name, DW_FORM_strp, "/tmp/main.c"); > CUDie.addAttribute(DW_AT_language, DW_FORM_data2, DW_LANG_C); > > DwarfGenDI...
2016 Nov 18
2
DWARF Generator
...t;> DwarfGen DG; >>> Triple Triple("x86_64--"); >>> StringRef Path("/tmp/test.elf"); >>> bool DwarfInitSuccess = DG.init(Triple, Path); >>> EXPECT_TRUE(DwarfInitSuccess); >>> uint16_t Version = 4; >>> uint8_t AddrSize = 8; >>> DwarfGenCU &CU = DG.appendCompileUnit(Version, AddrSize); >>> DwarfGenDIE CUDie = CU.getUnitDIE(); >>> >>> CUDie.addAttribute(DW_AT_name, DW_FORM_strp, "/tmp/main.c"); >>> CUDie.addAttribute(DW_AT_language, DW_FORM_data2,...
2016 Nov 18
2
DWARF Generator
...;>> Triple Triple("x86_64--"); > >>> StringRef Path("/tmp/test.elf"); > >>> bool DwarfInitSuccess = DG.init(Triple, Path); > >>> EXPECT_TRUE(DwarfInitSuccess); > >>> uint16_t Version = 4; > >>> uint8_t AddrSize = 8; > >>> DwarfGenCU &CU = DG.appendCompileUnit(Version, AddrSize); > >>> DwarfGenDIE CUDie = CU.getUnitDIE(); > >>> > >>> CUDie.addAttribute(DW_AT_name, DW_FORM_strp, "/tmp/main.c"); > >>> CUDie.addAttribute(DW_AT_l...