22 lines · plain
1; Test loading metadata which was not aware of versioned language names.2;3; RUN: llvm-dis -o - %p/Inputs/compile-unit-no-versioned-language.bc \4; RUN: | FileCheck %s --implicit-check-not "sourceLanguageName" --implicit-check-not "sourceLanguageVersion"5 6; Input bitcode file was compiled from following source on7; LLVM commit `fc22b58c25963ece6b041cadbdc931c2338955e4`:8;9; source_filename = "cu.cpp"10; target triple = "arm64-apple-macosx"11; 12; !llvm.dbg.cu = !{!0}13; !llvm.module.flags = !{!3, !4}14; 15; !0 = distinct !DICompileUnit(language: DW_LANG_ObjC, file: !1, producer: "handwritten", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, enums: !2, globals: !2, splitDebugInlining: false, nameTableKind: Apple, sysroot: "/")16; !1 = !DIFile(filename: "cu.cpp", directory: "/tmp")17; !2 = !{}18; !3 = !{i32 7, !"Dwarf Version", i32 5}19; !4 = !{i32 2, !"Debug Info Version", i32 3}20 21; CHECK: distinct !DICompileUnit(language: DW_LANG_ObjC,22