mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
IR: Move MDLocation into place
This commit moves `MDLocation`, finishing off PR21433. There's an accompanying clang commit for frontend testcases. I'll attach the testcase upgrade script I used to PR21433 to help out-of-tree frontends/backends. This changes the schema for `DebugLoc` and `DILocation` from: !{i32 3, i32 7, !7, !8} to: !MDLocation(line: 3, column: 7, scope: !7, inlinedAt: !8) Note that empty fields (line/column: 0 and inlinedAt: null) don't get printed by the assembly writer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226048 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -125,19 +125,19 @@ attributes #4 = { nounwind readonly }
|
||||
!24 = !{!"0xb\0011\000\000", !1, !22} ; [ DW_TAG_lexical_block ] [./branch.cc]
|
||||
!25 = !{i32 2, !"Dwarf Version", i32 4}
|
||||
!26 = !{!"clang version 3.4 (trunk 192896) (llvm/trunk 192895)"}
|
||||
!27 = !{i32 4, i32 0, !4, null}
|
||||
!28 = !{i32 5, i32 0, !29, null}
|
||||
!27 = !MDLocation(line: 4, scope: !4)
|
||||
!28 = !MDLocation(line: 5, scope: !29)
|
||||
!29 = !{!"0xb\005\000\000", !1, !4} ; [ DW_TAG_lexical_block ] [./branch.cc]
|
||||
!30 = !{i32 8, i32 0, !4, null}
|
||||
!30 = !MDLocation(line: 8, scope: !4)
|
||||
!31 = !{!32, !32, i64 0}
|
||||
!32 = !{!"any pointer", !33, i64 0}
|
||||
!33 = !{!"omnipotent char", !34, i64 0}
|
||||
!34 = !{!"Simple C/C++ TBAA"}
|
||||
!35 = !{i32 9, i32 0, !20, null}
|
||||
!36 = !{i32 13, i32 0, !24, null}
|
||||
!37 = !{i32 14, i32 0, !24, null}
|
||||
!38 = !{i32 11, i32 0, !22, null}
|
||||
!39 = !{i32 20, i32 0, !4, null}
|
||||
!40 = !{i32 21, i32 0, !4, null}
|
||||
!41 = !{i32 22, i32 0, !4, null}
|
||||
!35 = !MDLocation(line: 9, scope: !20)
|
||||
!36 = !MDLocation(line: 13, scope: !24)
|
||||
!37 = !MDLocation(line: 14, scope: !24)
|
||||
!38 = !MDLocation(line: 11, scope: !22)
|
||||
!39 = !MDLocation(line: 20, scope: !4)
|
||||
!40 = !MDLocation(line: 21, scope: !4)
|
||||
!41 = !MDLocation(line: 22, scope: !4)
|
||||
!42 = !{i32 1, !"Debug Info Version", i32 2}
|
||||
|
Reference in New Issue
Block a user