brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.5 KiB · c73089b Raw
42 lines · plain
1; RUN: llc < %s | FileCheck %s --check-prefix=ASM2; RUN: llc -filetype=obj < %s | llvm-readobj --codeview - | FileCheck %s --check-prefix=OBJ3 4; ASM:      .short  4412                    # Record kind: S_COMPILE35; ASM-NEXT: .long   68                      # Flags and language6; ASM-NEXT: .short  208                     # CPUType7 8; OBJ-LABEL: Compile3Sym {9; OBJ-NEXT:    Kind: S_COMPILE3 (0x113C)10; OBJ-NEXT:    Language: D (0x44)11; OBJ-NEXT:    Flags [ (0x0)12; OBJ-NEXT:    ]13; OBJ-NEXT:    Machine: X64 (0xD0)14; OBJ-NEXT:    FrontendVersion: {{[0-9.]*}}15; OBJ-NEXT:    BackendVersion: {{[0-9.]*}}16; OBJ-NEXT:    VersionName: LDC version 6.0.017; OBJ-NEXT:  }18 19 20; ModuleID = 't.c'21source_filename = "t.c"22target datalayout = "e-m:w-i64:64-f80:128-n8:16:32:64-S128"23target triple = "x86_64-pc-windows-msvc19.0.24215"24 25define void @f() !dbg !8 {26entry:27  ret void, !dbg !1128}29 30!llvm.dbg.cu = !{!0}31!llvm.module.flags = !{!3, !4}32 33!0 = distinct !DICompileUnit(language: DW_LANG_D, file: !1, producer: "LDC version 6.0.0 ", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, enums: !2)34!1 = !DIFile(filename: "t.d", directory: "asdf")35!2 = !{}36!3 = !{i32 2, !"CodeView", i32 1}37!4 = !{i32 2, !"Debug Info Version", i32 3}38!8 = distinct !DISubprogram(name: "f", scope: !1, file: !1, line: 1, type: !9, isLocal: false, isDefinition: true, scopeLine: 1, isOptimized: false, unit: !0, retainedNodes: !2)39!9 = !DISubroutineType(types: !10)40!10 = !{null}41!11 = !DILocation(line: 1, column: 11, scope: !8)42