|
| 1 | +; RUN: llc -filetype=obj -o - %s | llvm-readobj --codeview - | FileCheck %s |
| 2 | + |
| 3 | +; ModuleID = 'a.c' |
| 4 | +source_filename = "a.c" |
| 5 | +target datalayout = "e-m:w-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" |
| 6 | +target triple = "x86_64-unknown-windows-msvc19.33.0" |
| 7 | + |
| 8 | +; Function Attrs: noinline nounwind optnone uwtable |
| 9 | +define dso_local void @test() #0 !dbg !10 { |
| 10 | +entry: |
| 11 | + ret void, !dbg !13 |
| 12 | +} |
| 13 | + |
| 14 | +attributes #0 = { noinline nounwind optnone uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "patchable-function"="prologue-short-redirect" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } |
| 15 | + |
| 16 | +!llvm.dbg.cu = !{!0} |
| 17 | +!llvm.module.flags = !{!2, !3, !4, !5, !6, !7, !8} |
| 18 | +!llvm.ident = !{!9} |
| 19 | + |
| 20 | +!0 = distinct !DICompileUnit(language: DW_LANG_C11, file: !1, producer: "clang version 21.0.0git", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, splitDebugInlining: false, nameTableKind: None) |
| 21 | +!1 = !DIFile(filename: "a.c", directory: "/tmp", checksumkind: CSK_MD5, checksum: "c59e1f6192de3124537b024248301dd1") |
| 22 | +!2 = !{i32 2, !"CodeView", i32 1} |
| 23 | +!3 = !{i32 2, !"ms-hotpatch", i32 1} |
| 24 | +!4 = !{i32 2, !"Debug Info Version", i32 3} |
| 25 | +!5 = !{i32 1, !"wchar_size", i32 2} |
| 26 | +!6 = !{i32 8, !"PIC Level", i32 2} |
| 27 | +!7 = !{i32 7, !"uwtable", i32 2} |
| 28 | +!8 = !{i32 1, !"MaxTLSAlign", i32 65536} |
| 29 | +!9 = !{!"clang version 21.0.0git"} |
| 30 | +!10 = distinct !DISubprogram(name: "test", scope: !1, file: !1, line: 1, type: !11, scopeLine: 1, spFlags: DISPFlagDefinition, unit: !0) |
| 31 | +!11 = !DISubroutineType(types: !12) |
| 32 | +!12 = !{null} |
| 33 | +!13 = !DILocation(line: 1, scope: !10) |
| 34 | + |
| 35 | +; CHECK: Compile3Sym { |
| 36 | +; CHECK-NEXT: Kind: S_COMPILE3 (0x113C) |
| 37 | +; CHECK-NEXT: Language: C (0x0) |
| 38 | +; CHECK-NEXT: Flags [ (0x4000) |
| 39 | +; CHECK-NEXT: HotPatch (0x4000) |
| 40 | +; CHECK-NEXT: ] |
0 commit comments