24 lines · plain
1; RUN: llvm-dis %s.bc -o - | FileCheck %s2target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"3target triple = "x86_64-apple-macosx10.12.0"4 5@_ZN1N1iE = global i32 0, align 4, !dbg !06 7!llvm.dbg.cu = !{!4}8!llvm.module.flags = !{!7, !8, !9}9!llvm.ident = !{!10}10 11!0 = distinct !DIGlobalVariable(name: "i", linkageName: "_ZN1N1iE", scope: !1, file: !2, line: 2, type: !3, isLocal: false, isDefinition: true)12; Test bitcode upgrade for DINamespace without an exportSymbols field.13; CHECK: !DINamespace(name: "N", scope: null)14!1 = !DINamespace(name: "N", scope: null)15!2 = !DIFile(filename: "dinamespace.cpp", directory: "/")16!3 = !DIBasicType(name: "int", size: 32, align: 32, encoding: DW_ATE_signed)17!4 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !2, producer: "clang version 4.0.0 (trunk 283228) (llvm/trunk 283225)", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, enums: !5, globals: !6)18!5 = !{}19!6 = !{!0}20!7 = !{i32 2, !"Dwarf Version", i32 4}21!8 = !{i32 2, !"Debug Info Version", i32 3}22!9 = !{i32 1, !"PIC Level", i32 2}23!10 = !{!"clang version 4.0.0 (trunk 283228) (llvm/trunk 283225)"}24