http://llvm.org/bugs/show_bug.cgi?id=14039
Bug #: 14039
Summary: Source level debugging subroutine documentation is out
of date
Product: Documentation
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: General docs
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
The source level debugging documentation at docs/SourceLevelDebugging.html
describes a composite type descriptor metadata format, with examples of
subroutine types using it, which does not match the output of clang. Compare an
example from the documentation with the type info clang generates for a main
function:
!4 = metadata !{i32 458773, metadata !3, metadata !"", null, i32 0, i64 0, i64
0, i64 0, i32 0, null, metadata !5, i32 0}; [DW_TAG_subroutine_type ]
(documentation)
!7 = metadata !{i32 786453, i32 0, metadata !"", i32 0, i32 0, i64 0, i64 0,
i64 0, i32 0, null, metadata !8, i32 0, i32 0} ; [ DW_TAG_subroutine_type ]
(clang)
I also observe that the documentation specifies LLVMDebugVersion as being (8 <<
16) while Support/Dwarf.h has LLVMDebugVersion = (12 << 16).
The DWARF 3 standard page linked also no longer appears to host a working
download of that standard.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs