brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.1 KiB · 324a5f4 Raw
32 lines · plain
1; Check .loc directive is emitted at correct position2; RUN: llc -O0 -mtriple x86_64-linux-gnu <%s | FileCheck %s3 4; CHECK:	#MEMBARRIER5; CHECK:	#MEMBARRIER6; CHECK:	movl	$0, -4(%rsp)7; CHECK:	.loc	1 1 14 prologue_end             # none.c:1:148 9define dso_local i32 @main() !dbg !7 {10entry:11  fence acquire, !dbg !912  fence release, !dbg !913  %retval = alloca i32, align 414  store i32 0, ptr %retval, align 415  ret i32 0, !dbg !916}17 18!llvm.dbg.cu = !{!0}19!llvm.module.flags = !{!3, !4, !5}20!llvm.ident = !{!6}21 22!0 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer: "clang", isOptimized: false, runtimeVersion: 0, emissionKind: DebugDirectivesOnly, enums: !2, splitDebugInlining: false, nameTableKind: None)23!1 = !DIFile(filename: "none.c", directory: "/temp")24!2 = !{}25!3 = !{i32 2, !"Tracing", i32 1}26!4 = !{i32 2, !"Debug Info Version", i32 3}27!5 = !{i32 1, !"wchar_size", i32 4}28!6 = !{!"clang version 11.0.0"}29!7 = distinct !DISubprogram(name: "main", scope: !1, file: !1, line: 1, type: !8, scopeLine: 1, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !2)30!8 = !DISubroutineType(types: !2)31!9 = !DILocation(line: 1, column: 14, scope: !7)32