2009-11-07 01:58:12 +08:00
; RUN: llc %s -o /dev/null
2016-12-22 08:45:21 +08:00
source_filename = "test/DebugInfo/Generic/2009-11-06-NamelessGlobalVariable.ll"
2009-11-07 01:58:12 +08:00
2016-12-22 08:45:21 +08:00
@0 = internal constant i32 1 , !dbg !0
2009-11-07 01:58:12 +08:00
2016-12-22 08:45:21 +08:00
!llvm.dbg.cu = ! { !4 }
!llvm.module.flags = ! { !7 }
!0 = !DIGlobalVariableExpression ( var: !1 )
!1 = !DIGlobalVariable ( name: "a" , scope: null , file: !2 , line: 2 , type: !3 , isLocal: false , isDefinition: true )
!2 = !DIFile ( filename: "g.c" , directory: "/private/tmp" )
!3 = !DIBasicType ( name: "int" , size: 32 , align: 32 , encoding: D W _ A T E _ s i g n e d )
!4 = distinct !DICompileUnit ( language: D W _ L A N G _ C 99 , file: !2 , producer: "clang version 3.0 (trunk 139632)" , isOptimized: true , runtimeVersion: 0 , emissionKind: F u l l D e b u g , enums: !5 , retainedTypes: !5 , globals: !6 )
!5 = ! { }
!6 = ! { !0 }
!7 = ! { i32 1 , !"Debug Info Version" , i32 3 }