brintos

brintos / llvm-project-archived public Read only

0
0
Text · 2.2 KiB · f3c3555 Raw
60 lines · plain
1; XFAIL: target={{.*}}-aix{{.*}}2; RUN: llc -filetype=asm -asm-verbose=0 -O0 < %s | FileCheck %s3 4; Generated with clang from multiline.c:5; void f1();6; void f2() {7;   f1(); f1(); f1();8;   f1(); f1(); f1();9; }10 11 12; CHECK: .file 1 "/tmp/dbginfo{{.*}}multiline.c"13; CHECK: .loc 1 3 314; CHECK: .loc 1 3 915; CHECK: .loc 1 3 1516; CHECK: .loc 1 4 317; CHECK: .loc 1 4 918; CHECK: .loc 1 4 1519; CHECK: .loc 1 5 120 21; CHECK-NOT: .section .{{debug_.*}}22 23; Function Attrs: nounwind uwtable24define void @f2() #0 !dbg !4 {25entry:26  call void (...) @f1(), !dbg !1127  call void (...) @f1(), !dbg !1228  call void (...) @f1(), !dbg !1329  call void (...) @f1(), !dbg !1430  call void (...) @f1(), !dbg !1531  call void (...) @f1(), !dbg !1632  ret void, !dbg !1733}34 35declare void @f1(...) #136 37attributes #0 = { nounwind uwtable "less-precise-fpmad"="false" "frame-pointer"="all" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "use-soft-float"="false" }38attributes #1 = { "less-precise-fpmad"="false" "frame-pointer"="all" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "use-soft-float"="false" }39 40!llvm.dbg.cu = !{!0}41!llvm.module.flags = !{!8, !9}42!llvm.ident = !{!10}43 44!0 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "clang version 3.6.0 (trunk 225000) (llvm/trunk 224999)", isOptimized: false, emissionKind: DebugDirectivesOnly, file: !1)45!1 = !DIFile(filename: "multiline.c", directory: "/tmp/dbginfo")46!4 = distinct !DISubprogram(name: "f2", line: 2, isLocal: false, isDefinition: true, isOptimized: false, unit: !0, scopeLine: 2, file: !1, scope: !5, type: !6)47!5 = !DIFile(filename: "multiline.c", directory: "/tmp/dbginfo")48!6 = !DISubroutineType(types: !7)49!7 = !{null}50!8 = !{i32 2, !"Dwarf Version", i32 4}51!9 = !{i32 2, !"Debug Info Version", i32 3}52!10 = !{!"clang version 3.6.0 (trunk 225000) (llvm/trunk 224999)"}53!11 = !DILocation(line: 3, column: 3, scope: !4)54!12 = !DILocation(line: 3, column: 9, scope: !4)55!13 = !DILocation(line: 3, column: 15, scope: !4)56!14 = !DILocation(line: 4, column: 3, scope: !4)57!15 = !DILocation(line: 4, column: 9, scope: !4)58!16 = !DILocation(line: 4, column: 15, scope: !4)59!17 = !DILocation(line: 5, column: 1, scope: !4)60