mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Improve debug info.
This commit is contained in:
committed by
Christoffer Lerno
parent
ff4c35fae1
commit
6ac99ed83c
@@ -12,17 +12,21 @@ const FOO @private = ~(uint)(0);
|
||||
@constants.CC = protected unnamed_addr constant i32 -1, align 4
|
||||
@constants.FOO = protected unnamed_addr constant i32 -1, align 4
|
||||
|
||||
!llvm.dbg.cu = !{!0}
|
||||
!llvm.module.flags = !{!0, !1}
|
||||
!llvm.dbg.cu = !{!2}
|
||||
|
||||
!0 = distinct !DICompileUnit(language: DW_LANG_C, file: !1, producer: "c3c", isOptimized: false, runtimeVersion: 1, emissionKind: FullDebug, globals: !2, splitDebugInlining: false)
|
||||
!1 = !DIFile(filename: "constants.c3",
|
||||
!DIGlobalVariableExpression
|
||||
distinct !DIGlobalVariable(name: "AA", linkageName: "constants.AA", scope: !1,
|
||||
!DIBasicType(name: "char", size: 8, encoding: DW_ATE_unsigned_char)
|
||||
!DIGlobalVariableExpression
|
||||
distinct !DIGlobalVariable(name: "BB", linkageName: "constants.BB", scope: !1, file: !1, line: 2
|
||||
!DIGlobalVariableExpression
|
||||
distinct !DIGlobalVariable(name: "CC", linkageName: "constants.CC", scope: !1, file: !1, line: 3
|
||||
!DIBasicType(name: "uint", size: 32, encoding: DW_ATE_unsigned)
|
||||
!DIGlobalVariableExpression
|
||||
distinct !DIGlobalVariable(name: "FOO", linkageName: "constants.FOO", scope: !1, file: !1, line:
|
||||
!0 = !{i32 2, !"Dwarf Version", i32 4}
|
||||
!1 = !{i32 2, !"Debug Info Version", i32 3}
|
||||
!2 = distinct !DICompileUnit(language: DW_LANG_C11, file: !3, producer: "c3c", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, globals: !4, splitDebugInlining: false)
|
||||
!3 = !DIFile(filename: "constants.c3",
|
||||
!4 = !{!5, !8, !10, !13}
|
||||
!5 = !DIGlobalVariableExpression(var: !6, expr: !DIExpression())
|
||||
!6 = distinct !DIGlobalVariable(name: "AA", linkageName: "constants.AA", scope: !3
|
||||
!7 = !DIBasicType(name: "char", size: 8, encoding: DW_ATE_unsigned_char)
|
||||
!8 = !DIGlobalVariableExpression(var: !9, expr: !DIExpression())
|
||||
!9 = distinct !DIGlobalVariable(name: "BB", linkageName: "constants.BB", scope: !3, file: !3, line: 2
|
||||
!10 = !DIGlobalVariableExpression(var: !11, expr: !DIExpression())
|
||||
!11 = distinct !DIGlobalVariable(name: "CC", linkageName: "constants.CC", scope: !3, file: !3, line: 3
|
||||
!12 = !DIBasicType(name: "uint", size: 32, encoding: DW_ATE_unsigned)
|
||||
!13 = !DIGlobalVariableExpression(var: !14, expr: !DIExpression())
|
||||
!14 = distinct !DIGlobalVariable(name: "FOO", linkageName: "constants.FOO", scope: !3, file: !3, line:
|
||||
|
||||
Reference in New Issue
Block a user