32 lines · plain
1; REQUIRES: x86-registered-target2; RUN: opt < %s -passes=pseudo-probe -S -o - | FileCheck %s3 4; CHECK: ![[#]] = !{i64 -3345296970173352005, i64 [[#]], !"foo.dbg"}5; CHECK-NOT: ![[#]] = !{i64 6699318081062747564, i64 [[#]], !"foo"}6 7; Function Attrs: noinline nounwind optnone uwtable8define dso_local void @foo() #0 !dbg !8 {9entry:10 ret void, !dbg !1211}12 13attributes #0 = { noinline nounwind optnone uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }14 15!llvm.dbg.cu = !{!0}16!llvm.module.flags = !{!2, !3, !4, !5, !6}17!llvm.ident = !{!7}18 19!0 = distinct !DICompileUnit(language: DW_LANG_C11, file: !1, producer: "clang version 17.0.0", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, splitDebugInlining: false, nameTableKind: None)20!1 = !DIFile(filename: "test.c", directory: "")21!2 = !{i32 7, !"Dwarf Version", i32 5}22!3 = !{i32 2, !"Debug Info Version", i32 3}23!4 = !{i32 1, !"wchar_size", i32 4}24!5 = !{i32 7, !"uwtable", i32 2}25!6 = !{i32 7, !"frame-pointer", i32 2}26!7 = !{!"clang version 17.0.0 "}27!8 = distinct !DISubprogram(name: "foo.dbg", scope: !1, file: !1, line: 1, type: !9, scopeLine: 1, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !11)28!9 = !DISubroutineType(types: !10)29!10 = !{null}30!11 = !{}31!12 = !DILocation(line: 1, column: 13, scope: !8)32