search for: format_common_declare

Displaying 2 results from an estimated 2 matches for "format_common_declare".

2012 Jul 27
2
[LLVMdev] llvm dwarf debug info for locals with llvm.dbg.define
...ith LLVM not emitting local variable info, even though I had calls to llvm.dbg.define. After some tracking I found that the llvm.dbg.declare (and probably value too) have to have a !dbg !nr after them to get emitted at all. maybe someone can adjust http://llvm.org/docs/SourceLevelDebugging.html#format_common_declare that the two llvm.dbg. functions need a !dbg line info associated with them? Code i used that does not work (but does if !dbg !14 is added): ; ModuleID = 'meh' @.str0 = linker_private constant [7 x i8] c"heh %b\00", align 1 @"\01L_OBJC_IMAGE_INFO" = internal constant...
2012 Jul 27
0
[LLVMdev] llvm dwarf debug info for locals with llvm.dbg.define
...g local variable info, even though > I had calls to llvm.dbg.define. After some tracking I found that the > llvm.dbg.declare (and probably value too) have to have a !dbg !nr after > them to get emitted at all. maybe someone can adjust > http://llvm.org/docs/SourceLevelDebugging.html#format_common_declare > that the two llvm.dbg. functions need a !dbg line info associated with them? I suppose, but a declare isn't too useful unless you know where it was declared. How were you constructing these declares such that they didn't have line information? -eric