search for: section_line

Displaying 5 results from an estimated 5 matches for "section_line".

2011 Feb 24
0
[LLVMdev] [patch] Dwarf Debug info support for COFF object files
...LLVM :: FrontendC/2010-01-14-StaticVariable.c > LLVM :: FrontendC/2010-02-16-DbgVarScope.c > LLVM :: FrontendObjC/2009-08-17-DebugInfo.m This is because of @@ -1903,7 +1912,8 @@ addLabel(Die, dwarf::DW_AT_stmt_list, dwarf::DW_FORM_addr, Asm->GetTempSymbol("section_line")); else - addUInt(Die, dwarf::DW_AT_stmt_list, dwarf::DW_FORM_data4, 0); + addSectionOffset(Die, dwarf::DW_AT_stmt_list, dwarf::DW_FORM_addr, + Asm->GetTempSymbol("section_line")); if (!Dir.empty()) addString(Die, dwarf::DW_AT_comp_dir, dwarf::DW_FO...
2011 Feb 24
2
[LLVMdev] [patch] Dwarf Debug info support for COFF object files
On Feb 24, 2011, at 11:36 AM, Devang Patel wrote: > > On Feb 12, 2011, at 2:07 AM, Nathan Jeffords wrote: > >> Hello All, >> >> I have created a set of patches that get dwarf debugging support working for the COFF object file. I also believe I have fixed what appears to be a bug in how line info sections are referred to from the DW_TAG_compile_unit DIE. I have run
2015 May 15
3
[LLVMdev] MIPS asm backend emitting weird symbols into object file?
...00000000000000ab N $info_string2 00000000000000cf N $info_string3 0000000000000000 N $line_table_start0 0000000000000004 N $pubNames_begin0 000000000000001a N $pubNames_end0 0000000000000000 N $section_abbrev 0000000000000000 N $section_debug_loc 0000000000000000 N $section_info 0000000000000000 N $section_line 0000000000000004 t $tmp0 0000000000000008 t $tmp1 000000000000000c t $tmp2 0000000000000020 t $tmp3 0000000000000020 t $tmp4 0000000000000000 T foo These symbols are not from the IR. They seem to be inserted by the MIPS asm back-end. I wouldn't be worried if these are MIPS specific temporary...
2012 Nov 19
0
[LLVMdev] Debug information under windows
...AT_stmt_list, dwarf::DW_FORM_data4, + if (Asm->MAI->doesDwarfRequireRelocationForSectionOffset()) { + if (Asm->MAI->getDwarfSectionOffsetDirective()) // COFF + NewCU->addDelta(Die, dwarf::DW_AT_stmt_list, dwarf::DW_FORM_data4, + Asm->GetTempSymbol("section_line"), 0); // will expand to secrel32 on COFF. TODO: separate "DieCOFFLabel" class or something + else + NewCU->addLabel(Die, dwarf::DW_AT_stmt_list, dwarf::DW_FORM_data4, Asm->GetTempSymbol("section_line")); + } else NewCU->addUIn...
2012 Oct 26
5
[LLVMdev] Debug information under windows
Hello, Recently I found binaries produced with LLVM impossible to debug under Windows. This was probably related to the following bug: http://llvm.org/bugs/show_bug.cgi?id=13636 Asm generated from .ll files revealed that some offsets to debug information were incorrect: they were absolute instead of relative to their sections. Following patch seemed to have repaired the problem, so I'm