brintos

brintos / llvm-project-archived public Read only

0
0
Text · 2.3 KiB · 841061c Raw
48 lines · plain
1; REQUIRES: asserts2; RUN: llc -mtriple=x86_64-unknown-linux-gnu < %s -o /dev/null 2>&1 | FileCheck %s3; RUN: llc -mtriple=x86_64-unknown-windows-msvc < %s -o /dev/null 2>&1 | FileCheck %s4 5; CHECK: warning: Guid:8314849053352128226 Name:inlinee does not exist in pseudo probe desc6; CHECK: warning: Guid:6492337042787843907 Name:extract2 does not exist in pseudo probe desc7 8target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"9 10define void @extract1() !dbg !8 {11entry:12  call void @llvm.pseudoprobe(i64 6028998432455395745, i64 1, i32 0, i64 -1), !dbg !1113  call void @llvm.pseudoprobe(i64 8314849053352128226, i64 1, i32 0, i64 -1), !dbg !1214  ret void, !dbg !1615}16 17define void @extract2() !dbg !17 {18entry:19  call void @llvm.pseudoprobe(i64 6492337042787843907, i64 1, i32 0, i64 -1), !dbg !1820  ret void, !dbg !1821}22 23declare void @llvm.pseudoprobe(i64, i64, i32, i64)24 25!llvm.dbg.cu = !{!0}26!llvm.module.flags = !{!2, !3, !4, !5, !6}27!llvm.pseudo_probe_desc = !{!7}28 29!0 = distinct !DICompileUnit(language: DW_LANG_C11, file: !1, producer: "clang", isOptimized: false, emissionKind: LineTablesOnly, splitDebugInlining: false, nameTableKind: None)30!1 = !DIFile(filename: "test.c", directory: "/home/foo")31!2 = !{i32 7, !"Dwarf Version", i32 4}32!3 = !{i32 2, !"Debug Info Version", i32 3}33!4 = !{i32 1, !"wchar_size", i32 4}34!5 = !{i32 7, !"uwtable", i32 2}35!6 = !{i32 7, !"frame-pointer", i32 2}36!7 = !{i64 6028998432455395745, i64 281479271677951, !"extract1"}37!8 = distinct !DISubprogram(name: "extract1", scope: !1, file: !1, line: 4, type: !9, scopeLine: 4, spFlags: DISPFlagDefinition, unit: !0)38!9 = !DISubroutineType(types: !10)39!10 = !{}40!11 = !DILocation(line: 5, column: 3, scope: !8)41!12 = !DILocation(line: 2, column: 1, scope: !13, inlinedAt: !14)42!13 = distinct !DISubprogram(name: "inlinee", scope: !1, file: !1, line: 1, type: !9, scopeLine: 1, spFlags: DISPFlagDefinition, unit: !0)43!14 = distinct !DILocation(line: 5, column: 3, scope: !15)44!15 = !DILexicalBlockFile(scope: !8, file: !1, discriminator: 455082007)45!16 = !DILocation(line: 6, column: 1, scope: !8)46!17 = distinct !DISubprogram(name: "extract2", scope: !1, file: !1, line: 8, type: !9, scopeLine: 8, spFlags: DISPFlagDefinition, unit: !0)47!18 = !DILocation(line: 9, column: 1, scope: !17)48