brintos

brintos / llvm-project-archived public Read only

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