Displaying 1 result from an estimated 1 matches for "llvmdebugversion7".
Did you mean:
llvmdebugversion
2011 Apr 27
1
[LLVMdev] LLVM internal getDirectory() for LexicalBlock debug information returns filename?
...l}
!34 = metadata !{i32 589835, metadata !35, i32 12, i32 3, metadata
!1, i32 2} ; [ DW_TAG_lexical_block ]
!35 = metadata !{i32 589835, metadata !14, i32 11, i32 3, metadata
!1, i32 1} ; [ DW_TAG_lexical_block ]
...
In llvm/Analysis/DebugInfo.h, I see some exception code in
DISubProgram for LLVMDebugVersion7:
StringRef getDirectory() const {
if (getVersion() == llvm::LLVMDebugVersion7)
return getCompileUnit().getFilename();
return getFieldAs<DIFile>(6).getDirectory();
}
The DILexicalBlock code does not include such exceptions, but even if
I try to add such code, t...