mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-22 07:32:48 +00:00
43213cf1ac
We generate one line table for each compilation unit in the object file. Reviewed by Eric and Kevin. rdar://problem/13067005 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174445 91177308-0d34-0410-b5e6-96231b3b80d8
23 lines
1.1 KiB
LLVM
23 lines
1.1 KiB
LLVM
; RUN: llc < %s -disable-dot-loc -mtriple=x86_64-apple-darwin -O0 | FileCheck %s
|
|
|
|
|
|
define void @foo() nounwind ssp {
|
|
entry:
|
|
ret void, !dbg !5
|
|
}
|
|
|
|
!llvm.dbg.sp = !{!0}
|
|
|
|
!0 = metadata !{i32 589870, i32 0, metadata !1, metadata !"foo", metadata !"foo", metadata !"", metadata !1, i32 3, metadata !3, i1 false, i1 true, i32 0, i32 0, null, i32 256, i1 false, void ()* @foo} ; [ DW_TAG_subprogram ]
|
|
!1 = metadata !{i32 589865, metadata !"e.c", metadata !"/private/tmp", metadata !2} ; [ DW_TAG_file_type ]
|
|
!2 = metadata !{i32 589841, i32 0, i32 12, metadata !"e.c", metadata !"/private/tmp", metadata !"clang version 2.9 (trunk 120563)", i1 true, i1 false, metadata !"", i32 0} ; [ DW_TAG_compile_unit ]
|
|
!3 = metadata !{i32 589845, metadata !1, metadata !"", metadata !1, i32 0, i64 0, i64 0, i64 0, i32 0, null, metadata !4, i32 0, null} ; [ DW_TAG_subroutine_type ]
|
|
!4 = metadata !{null}
|
|
!5 = metadata !{i32 5, i32 1, metadata !6, null}
|
|
!6 = metadata !{i32 589835, metadata !0, i32 3, i32 16, metadata !1, i32 0} ; [ DW_TAG_lexical_block ]
|
|
|
|
; CHECK: .subsections_via_symbols
|
|
; CHECK-NEXT: __debug_line
|
|
; CHECK-NEXT: Lline_table_start0
|
|
; CHECK-NEXT: Ltmp{{[0-9]}} = (Ltmp
|