search for: beginscop

Displaying 3 results from an estimated 3 matches for "beginscop".

Did you mean: beginscope
2010 Aug 24
0
[LLVMdev] help converting llvm metadata into dwarf tags
...> I've found the tag definitions in include/llvm/Support/Dwarf.h and added my > own. > lib/CodeGen/AsmPrinter/DwarfDebug.cpp seems to be the only place that emits > dwarf data into the assembly stream. > See have DwarfDebug.cpp handles DebugLoc attached with each instruction (::beginScope() and ::endScope()). > It also seems to create a DebugInfoFinder which accesses the IR > instructions. > This path will allow you to browse entire function and collect info which you can use later on. - Devang -------------- next part -------------- An HTML attachment was scrubbed......
2010 Aug 23
2
[LLVMdev] help converting llvm metadata into dwarf tags
Dear all, I'd like to find the memory location of certain instructions in a compiled/linked binary. During the IR phase, I tag instructions I'm interested in with LLVM'-2.7's new metadata (MDNodes with an identifiable ID). I'd now like to propagate that data to the assembly via a custom DWARF tag I attach to each X86 instruction created from a tagged IR instruction. This will
2010 Sep 07
1
[LLVMdev] help converting llvm metadata into dwarf tags
...efinitions in include/llvm/Support/Dwarf.h and added >> my own. >> lib/CodeGen/AsmPrinter/DwarfDebug.cpp seems to be the only place that >> emits dwarf data into the assembly stream. >> > > See have DwarfDebug.cpp handles DebugLoc attached with each instruction > (::beginScope() and ::endScope()). > > >> It also seems to create a DebugInfoFinder which accesses the IR >> instructions. >> > > This path will allow you to browse entire function and collect info which > you can use later on. > > - > Devang > -------------- next p...