namespace.ll 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365
  1. ; REQUIRES: object-emission
  2. ; RUN: %llc_dwarf -O0 -filetype=obj -dwarf-linkage-names=All < %s | llvm-dwarfdump -v - | FileCheck %s
  3. ; CHECK: debug_info contents
  4. ; CHECK: DW_AT_name{{.*}}= [[F1:.*]])
  5. ; CHECK: [[NS1:0x[0-9a-f]*]]:{{ *}}DW_TAG_namespace
  6. ; CHECK-NOT: DW_AT_decl_file
  7. ; CHECK-NOT: DW_AT_decl_line
  8. ; CHECK-NOT: NULL
  9. ; CHECK: [[NS2:0x[0-9a-f]*]]:{{ *}}DW_TAG_namespace
  10. ; CHECK-NEXT: DW_AT_name{{.*}} = "B"
  11. ; CHECK-NOT: DW_AT_decl_file
  12. ; CHECK-NOT: DW_AT_decl_line
  13. ; CHECK-NOT: NULL
  14. ; CHECK: [[I:0x[0-9a-f]*]]:{{ *}}DW_TAG_variable
  15. ; CHECK-NEXT: DW_AT_name{{.*}}= "i"
  16. ; CHECK: [[VAR_FWD:0x[0-9a-f]*]]:{{ *}}DW_TAG_variable
  17. ; CHECK-NEXT: DW_AT_name{{.*}}= "var_fwd"
  18. ; CHECK-NOT: NULL
  19. ; CHECK: [[FOO:0x[0-9a-f]*]]:{{ *}}DW_TAG_structure_type
  20. ; CHECK-NEXT: DW_AT_name{{.*}}= "foo"
  21. ; CHECK-NEXT: DW_AT_declaration
  22. ; CHECK-NOT: NULL
  23. ; CHECK: [[BAR:0x[0-9a-f]*]]:{{ *}}DW_TAG_structure_type
  24. ; CHECK-NEXT: DW_AT_name{{.*}}= "bar"
  25. ; CHECK: DW_TAG_subprogram
  26. ; CHECK-NOT: DW_TAG
  27. ; CHECK: DW_AT_MIPS_linkage_name
  28. ; CHECK-NOT: DW_TAG
  29. ; CHECK: DW_AT_name{{.*}}= "f1"
  30. ; CHECK: [[FUNC1:.*]]: DW_TAG_subprogram
  31. ; CHECK-NOT: DW_TAG
  32. ; CHECK: DW_AT_MIPS_linkage_name
  33. ; CHECK-NOT: DW_TAG
  34. ; CHECK: DW_AT_name{{.*}}= "f1"
  35. ; CHECK: [[BAZ:0x[0-9a-f]*]]:{{.*}}DW_TAG_typedef
  36. ; CHECK-NOT: DW_TAG
  37. ; CHECK: DW_AT_name{{.*}}= "baz"
  38. ; CHECK: [[VAR_DECL:0x[0-9a-f]*]]:{{.*}}DW_TAG_variable
  39. ; CHECK-NOT: DW_TAG
  40. ; CHECK: DW_AT_name{{.*}}= "var_decl"
  41. ; CHECK-NOT: DW_TAG
  42. ; CHECK: DW_AT_declaration
  43. ; CHECK: [[FUNC_DECL:0x[0-9a-f]*]]:{{.*}}DW_TAG_subprogram
  44. ; CHECK-NOT: DW_TAG
  45. ; CHECK: DW_AT_name{{.*}}= "func_decl"
  46. ; CHECK-NOT: DW_TAG
  47. ; CHECK: DW_AT_declaration
  48. ; CHECK: [[FUNC_FWD:0x[0-9a-f]*]]:{{.*}}DW_TAG_subprogram
  49. ; CHECK-NOT: DW_TAG
  50. ; CHECK: DW_AT_name{{.*}}= "func_fwd"
  51. ; CHECK-NOT: DW_AT_declaration
  52. ; CHECK: NULL
  53. ; CHECK-NOT: NULL
  54. ; CHECK: DW_TAG_imported_module
  55. ; CHECK-NEXT: DW_AT_decl_file{{.*}}([[F2:.*]])
  56. ; CHECK-NEXT: DW_AT_decl_line{{.*}}(15)
  57. ; CHECK-NEXT: DW_AT_import{{.*}}=> {[[NS2]]})
  58. ; CHECK: NULL
  59. ; CHECK-NOT: NULL
  60. ; CHECK: DW_TAG_imported_module
  61. ; CHECK-NEXT: DW_AT_decl_file{{.*}}([[F2:.*]])
  62. ; CHECK-NEXT: DW_AT_decl_line{{.*}}(18)
  63. ; CHECK-NEXT: DW_AT_import{{.*}}=> {[[NS1]]})
  64. ; CHECK-NOT: NULL
  65. ; CHECK: DW_TAG_subprogram
  66. ; CHECK-NOT: {{DW_TAG|NULL}}
  67. ; CHECK: DW_TAG_subprogram
  68. ; CHECK-NOT: DW_TAG
  69. ; CHECK: DW_AT_MIPS_linkage_name
  70. ; CHECK-NOT: DW_TAG
  71. ; CHECK: DW_AT_name{{.*}}= "func"
  72. ; CHECK-NOT: NULL
  73. ; CHECK: DW_TAG_imported_module
  74. ; CHECK-NEXT: DW_AT_decl_file{{.*}}([[F2:.*]])
  75. ; CHECK-NEXT: DW_AT_decl_line{{.*}}(26)
  76. ; CHECK-NEXT: DW_AT_import{{.*}}=> {[[NS1]]})
  77. ; CHECK-NOT: NULL
  78. ; CHECK: DW_TAG_imported_declaration
  79. ; CHECK-NEXT: DW_AT_decl_file{{.*}}([[F2]])
  80. ; CHECK-NEXT: DW_AT_decl_line{{.*}}(27)
  81. ; CHECK-NEXT: DW_AT_import{{.*}}=> {[[FOO]]})
  82. ; CHECK-NOT: NULL
  83. ; CHECK: DW_TAG_imported_declaration
  84. ; CHECK-NEXT: DW_AT_decl_file{{.*}}([[F2]])
  85. ; CHECK-NEXT: DW_AT_decl_line{{.*}}(28)
  86. ; CHECK-NEXT: DW_AT_import{{.*}}=> {[[BAR]]})
  87. ; CHECK-NOT: NULL
  88. ; CHECK: DW_TAG_imported_declaration
  89. ; CHECK-NEXT: DW_AT_decl_file{{.*}}([[F2]])
  90. ; CHECK-NEXT: DW_AT_decl_line{{.*}}(29)
  91. ; CHECK-NEXT: DW_AT_import{{.*}}=> {[[FUNC1]]})
  92. ; CHECK-NOT: NULL
  93. ; CHECK: DW_TAG_imported_declaration
  94. ; CHECK-NEXT: DW_AT_decl_file{{.*}}([[F2]])
  95. ; CHECK-NEXT: DW_AT_decl_line{{.*}}(30)
  96. ; CHECK-NEXT: DW_AT_import{{.*}}=> {[[I]]})
  97. ; CHECK-NOT: NULL
  98. ; CHECK: DW_TAG_imported_declaration
  99. ; CHECK-NEXT: DW_AT_decl_file{{.*}}([[F2]])
  100. ; CHECK-NEXT: DW_AT_decl_line{{.*}}(31)
  101. ; CHECK-NEXT: DW_AT_import{{.*}}=> {[[BAZ]]})
  102. ; CHECK-NOT: NULL
  103. ; CHECK: [[X:0x[0-9a-f]*]]:{{ *}}DW_TAG_imported_declaration
  104. ; CHECK-NEXT: DW_AT_decl_file{{.*}}([[F2]])
  105. ; CHECK-NEXT: DW_AT_decl_line{{.*}}(32)
  106. ; CHECK-NEXT: DW_AT_import{{.*}}=> {[[NS1]]})
  107. ; CHECK-NEXT: DW_AT_name{{.*}}"X"
  108. ; CHECK-NOT: NULL
  109. ; CHECK: DW_TAG_imported_declaration
  110. ; CHECK-NEXT: DW_AT_decl_file{{.*}}([[F2]])
  111. ; CHECK-NEXT: DW_AT_decl_line{{.*}}(33)
  112. ; CHECK-NEXT: DW_AT_import{{.*}}=> {[[X]]})
  113. ; CHECK-NEXT: DW_AT_name{{.*}}"Y"
  114. ; CHECK-NOT: NULL
  115. ; CHECK: DW_TAG_imported_declaration
  116. ; CHECK-NEXT: DW_AT_decl_file{{.*}}([[F2]])
  117. ; CHECK-NEXT: DW_AT_decl_line{{.*}}(34)
  118. ; CHECK-NEXT: DW_AT_import{{.*}}=> {[[VAR_DECL]]})
  119. ; CHECK: DW_TAG_imported_declaration
  120. ; CHECK-NEXT: DW_AT_decl_file{{.*}}([[F2]])
  121. ; CHECK-NEXT: DW_AT_decl_line{{.*}}(35)
  122. ; CHECK-NEXT: DW_AT_import{{.*}}=> {[[FUNC_DECL]]})
  123. ; CHECK: DW_TAG_imported_declaration
  124. ; CHECK-NEXT: DW_AT_decl_file{{.*}}([[F2]])
  125. ; CHECK-NEXT: DW_AT_decl_line{{.*}}(36)
  126. ; CHECK-NEXT: DW_AT_import{{.*}}=> {[[VAR_FWD]]})
  127. ; CHECK: DW_TAG_imported_declaration
  128. ; CHECK-NEXT: DW_AT_decl_file{{.*}}([[F2]])
  129. ; CHECK-NEXT: DW_AT_decl_line{{.*}}(37)
  130. ; CHECK-NEXT: DW_AT_import{{.*}}=> {[[FUNC_FWD]]})
  131. ; CHECK: DW_TAG_lexical_block
  132. ; CHECK-NOT: NULL
  133. ; CHECK: DW_TAG_imported_module
  134. ; CHECK-NEXT: DW_AT_decl_file{{.*}}([[F2]])
  135. ; CHECK-NEXT: DW_AT_decl_line{{.*}}(23)
  136. ; CHECK-NEXT: DW_AT_import{{.*}}=>
  137. ; CHECK: NULL
  138. ; CHECK: NULL
  139. ; CHECK: NULL
  140. ; IR generated from clang/test/CodeGenCXX/debug-info-namespace.cpp, file paths
  141. ; changed to protect the guilty. The C++ source code is:
  142. ; // RUN...
  143. ; // RUN...
  144. ; // RUN...
  145. ;
  146. ; namespace A {
  147. ; #line 1 "foo.cpp"
  148. ; namespace B {
  149. ; extern int i;
  150. ; int f1() { return 0; }
  151. ; void f1(int) { }
  152. ; struct foo;
  153. ; struct bar { };
  154. ; typedef bar baz;
  155. ; extern int var_decl;
  156. ; void func_decl(void);
  157. ; extern int var_fwd;
  158. ; void func_fwd(void);
  159. ; }
  160. ; }
  161. ; namespace A {
  162. ; using namespace B;
  163. ; }
  164. ;
  165. ; using namespace A;
  166. ; namespace E = A;
  167. ; int B::i = f1();
  168. ; int func(bool b) {
  169. ; if (b) {
  170. ; using namespace A::B;
  171. ; return i;
  172. ; }
  173. ; using namespace A;
  174. ; using B::foo;
  175. ; using B::bar;
  176. ; using B::f1;
  177. ; using B::i;
  178. ; using B::baz;
  179. ; namespace X = A;
  180. ; namespace Y = X;
  181. ; using B::var_decl;
  182. ; using B::func_decl;
  183. ; using B::var_fwd;
  184. ; using B::func_fwd;
  185. ; return i + X::B::i + Y::B::i;
  186. ; }
  187. ;
  188. ; namespace A {
  189. ; using B::i;
  190. ; namespace B {
  191. ; int var_fwd = i;
  192. ; }
  193. ; }
  194. ; void B::func_fwd() {}
  195. @_ZN1A1B1iE = global i32 0, align 4, !dbg !131
  196. @_ZN1A1B7var_fwdE = global i32 0, align 4, !dbg !132
  197. @llvm.global_ctors = appending global [1 x { i32, void ()*, i8* }] [{ i32, void ()*, i8* } { i32 65535, void ()* @_GLOBAL__sub_I_debug_info_namespace.cpp, i8* null }]
  198. ; Function Attrs: nounwind ssp uwtable
  199. define i32 @_ZN1A1B2f1Ev() #0 !dbg !10 {
  200. entry:
  201. ret i32 0, !dbg !60
  202. }
  203. ; Function Attrs: nounwind ssp uwtable
  204. define void @_ZN1A1B2f1Ei(i32) #0 !dbg !14 {
  205. entry:
  206. %.addr = alloca i32, align 4
  207. store i32 %0, i32* %.addr, align 4
  208. call void @llvm.dbg.declare(metadata i32* %.addr, metadata !61, metadata !62), !dbg !63
  209. ret void, !dbg !64
  210. }
  211. ; Function Attrs: nounwind readnone
  212. declare void @llvm.dbg.declare(metadata, metadata, metadata) #1
  213. define internal void @__cxx_global_var_init() section "__TEXT,__StaticInit,regular,pure_instructions" !dbg !17 {
  214. entry:
  215. %call = call i32 @_ZN1A1B2f1Ev(), !dbg !65
  216. store i32 %call, i32* @_ZN1A1B1iE, align 4, !dbg !65
  217. ret void, !dbg !65
  218. }
  219. ; Function Attrs: nounwind ssp uwtable
  220. define i32 @_Z4funcb(i1 zeroext %b) #0 !dbg !21 {
  221. entry:
  222. %retval = alloca i32, align 4
  223. %b.addr = alloca i8, align 1
  224. %frombool = zext i1 %b to i8
  225. store i8 %frombool, i8* %b.addr, align 1
  226. call void @llvm.dbg.declare(metadata i8* %b.addr, metadata !66, metadata !62), !dbg !67
  227. %0 = load i8, i8* %b.addr, align 1, !dbg !68
  228. %tobool = trunc i8 %0 to i1, !dbg !68
  229. br i1 %tobool, label %if.then, label %if.end, !dbg !68
  230. if.then: ; preds = %entry
  231. %1 = load i32, i32* @_ZN1A1B1iE, align 4, !dbg !69
  232. store i32 %1, i32* %retval, !dbg !69
  233. br label %return, !dbg !69
  234. if.end: ; preds = %entry
  235. %2 = load i32, i32* @_ZN1A1B1iE, align 4, !dbg !70
  236. %3 = load i32, i32* @_ZN1A1B1iE, align 4, !dbg !70
  237. %add = add nsw i32 %2, %3, !dbg !70
  238. %4 = load i32, i32* @_ZN1A1B1iE, align 4, !dbg !70
  239. %add1 = add nsw i32 %add, %4, !dbg !70
  240. store i32 %add1, i32* %retval, !dbg !70
  241. br label %return, !dbg !70
  242. return: ; preds = %if.end, %if.then
  243. %5 = load i32, i32* %retval, !dbg !71
  244. ret i32 %5, !dbg !71
  245. }
  246. define internal void @__cxx_global_var_init1() section "__TEXT,__StaticInit,regular,pure_instructions" !dbg !25 {
  247. entry:
  248. %0 = load i32, i32* @_ZN1A1B1iE, align 4, !dbg !72
  249. store i32 %0, i32* @_ZN1A1B7var_fwdE, align 4, !dbg !72
  250. ret void, !dbg !72
  251. }
  252. ; Function Attrs: nounwind ssp uwtable
  253. define void @_ZN1A1B8func_fwdEv() #0 !dbg !26 {
  254. entry:
  255. ret void, !dbg !73
  256. }
  257. define internal void @_GLOBAL__sub_I_debug_info_namespace.cpp() section "__TEXT,__StaticInit,regular,pure_instructions" {
  258. entry:
  259. call void @__cxx_global_var_init(), !dbg !74
  260. call void @__cxx_global_var_init1(), !dbg !74
  261. ret void, !dbg !74
  262. }
  263. attributes #0 = { nounwind ssp uwtable "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "unsafe-fp-math"="false" "use-soft-float"="false" }
  264. attributes #1 = { nounwind readnone }
  265. !llvm.dbg.cu = !{!0}
  266. !llvm.module.flags = !{!57, !58}
  267. !llvm.ident = !{!59}
  268. !0 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, producer: "clang version 3.6.0 ", isOptimized: false, emissionKind: FullDebug, file: !1, enums: !2, retainedTypes: !3, globals: !30, imports: !33)
  269. !1 = !DIFile(filename: "debug-info-namespace.cpp", directory: "/tmp")
  270. !2 = !{}
  271. !3 = !{!4, !8}
  272. !4 = !DICompositeType(tag: DW_TAG_structure_type, name: "foo", line: 5, flags: DIFlagFwdDecl, file: !5, scope: !6, identifier: "_ZTSN1A1B3fooE")
  273. !5 = !DIFile(filename: "foo.cpp", directory: "/tmp")
  274. !6 = !DINamespace(name: "B", scope: !7)
  275. !7 = !DINamespace(name: "A", scope: null)
  276. !8 = !DICompositeType(tag: DW_TAG_structure_type, name: "bar", line: 6, size: 8, align: 8, file: !5, scope: !6, elements: !2, identifier: "_ZTSN1A1B3barE")
  277. !10 = distinct !DISubprogram(name: "f1", linkageName: "_ZN1A1B2f1Ev", line: 3, isLocal: false, isDefinition: true, flags: DIFlagPrototyped, isOptimized: false, unit: !0, scopeLine: 3, file: !5, scope: !6, type: !11, retainedNodes: !2)
  278. !11 = !DISubroutineType(types: !12)
  279. !12 = !{!13}
  280. !13 = !DIBasicType(tag: DW_TAG_base_type, name: "int", size: 32, align: 32, encoding: DW_ATE_signed)
  281. !14 = distinct !DISubprogram(name: "f1", linkageName: "_ZN1A1B2f1Ei", line: 4, isLocal: false, isDefinition: true, flags: DIFlagPrototyped, isOptimized: false, unit: !0, scopeLine: 4, file: !5, scope: !6, type: !15, retainedNodes: !2)
  282. !15 = !DISubroutineType(types: !16)
  283. !16 = !{null, !13}
  284. !17 = distinct !DISubprogram(name: "__cxx_global_var_init", line: 20, isLocal: true, isDefinition: true, flags: DIFlagPrototyped, isOptimized: false, unit: !0, scopeLine: 20, file: !5, scope: !18, type: !19, retainedNodes: !2)
  285. !18 = !DIFile(filename: "foo.cpp", directory: "/tmp")
  286. !19 = !DISubroutineType(types: !20)
  287. !20 = !{null}
  288. !21 = distinct !DISubprogram(name: "func", linkageName: "_Z4funcb", line: 21, isLocal: false, isDefinition: true, flags: DIFlagPrototyped, isOptimized: false, unit: !0, scopeLine: 21, file: !5, scope: !18, type: !22, retainedNodes: !2)
  289. !22 = !DISubroutineType(types: !23)
  290. !23 = !{!13, !24}
  291. !24 = !DIBasicType(tag: DW_TAG_base_type, name: "bool", size: 8, align: 8, encoding: DW_ATE_boolean)
  292. !25 = distinct !DISubprogram(name: "__cxx_global_var_init1", line: 44, isLocal: true, isDefinition: true, flags: DIFlagPrototyped, isOptimized: false, unit: !0, scopeLine: 44, file: !5, scope: !18, type: !19, retainedNodes: !2)
  293. !26 = distinct !DISubprogram(name: "func_fwd", linkageName: "_ZN1A1B8func_fwdEv", line: 47, isLocal: false, isDefinition: true, flags: DIFlagPrototyped, isOptimized: false, unit: !0, scopeLine: 47, file: !5, scope: !6, type: !19, retainedNodes: !2)
  294. !27 = distinct !DISubprogram(name: "", linkageName: "_GLOBAL__sub_I_debug_info_namespace.cpp", isLocal: true, isDefinition: true, flags: DIFlagArtificial, isOptimized: false, unit: !0, file: !1, scope: !28, type: !29, retainedNodes: !2)
  295. !28 = !DIFile(filename: "debug-info-namespace.cpp", directory: "/tmp")
  296. !29 = !DISubroutineType(types: !2)
  297. !30 = !{!131, !132}
  298. !31 = !DIGlobalVariable(name: "i", linkageName: "_ZN1A1B1iE", line: 20, isLocal: false, isDefinition: true, scope: !6, file: !18, type: !13)
  299. !32 = !DIGlobalVariable(name: "var_fwd", linkageName: "_ZN1A1B7var_fwdE", line: 44, isLocal: false, isDefinition: true, scope: !6, file: !18, type: !13)
  300. !33 = !{!34, !35, !36, !37, !40, !41, !42, !43, !44, !45, !47, !48, !49, !51, !54, !55, !56}
  301. !34 = !DIImportedEntity(tag: DW_TAG_imported_module, file: !5, line: 15, scope: !7, entity: !6)
  302. !35 = !DIImportedEntity(tag: DW_TAG_imported_module, file: !5, line: 18, scope: !0, entity: !7)
  303. !36 = !DIImportedEntity(tag: DW_TAG_imported_declaration, file: !5, line: 19, name: "E", scope: !0, entity: !7)
  304. !37 = !DIImportedEntity(tag: DW_TAG_imported_module, file: !5, line: 23, scope: !38, entity: !6)
  305. !38 = distinct !DILexicalBlock(line: 22, column: 10, file: !5, scope: !39)
  306. !39 = distinct !DILexicalBlock(line: 22, column: 7, file: !5, scope: !21)
  307. !40 = !DIImportedEntity(tag: DW_TAG_imported_module, file: !5, line: 26, scope: !21, entity: !7)
  308. !41 = !DIImportedEntity(tag: DW_TAG_imported_declaration, file: !5, line: 27, scope: !21, entity: !4)
  309. !42 = !DIImportedEntity(tag: DW_TAG_imported_declaration, file: !5, line: 28, scope: !21, entity: !8)
  310. !43 = !DIImportedEntity(tag: DW_TAG_imported_declaration, file: !5, line: 29, scope: !21, entity: !14)
  311. !44 = !DIImportedEntity(tag: DW_TAG_imported_declaration, file: !5, line: 30, scope: !21, entity: !31)
  312. !45 = !DIImportedEntity(tag: DW_TAG_imported_declaration, file: !5, line: 31, scope: !21, entity: !46)
  313. !46 = !DIDerivedType(tag: DW_TAG_typedef, name: "baz", line: 7, file: !5, scope: !6, baseType: !8)
  314. !47 = !DIImportedEntity(tag: DW_TAG_imported_declaration, file: !5, line: 32, name: "X", scope: !21, entity: !7)
  315. !48 = !DIImportedEntity(tag: DW_TAG_imported_declaration, file: !5, line: 33, name: "Y", scope: !21, entity: !47)
  316. !49 = !DIImportedEntity(tag: DW_TAG_imported_declaration, file: !5, line: 34, scope: !21, entity: !50)
  317. !50 = !DIGlobalVariable(name: "var_decl", linkageName: "_ZN1A1B8var_declE", line: 8, isLocal: false, isDefinition: false, scope: !6, file: !18, type: !13)
  318. !51 = !DIImportedEntity(tag: DW_TAG_imported_declaration, file: !5, line: 35, scope: !21, entity: !52)
  319. !52 = !DISubprogram(name: "func_decl", linkageName: "_ZN1A1B9func_declEv", line: 9, isLocal: false, isDefinition: false, flags: DIFlagPrototyped, isOptimized: false, file: !5, scope: !6, type: !19, retainedNodes: !53)
  320. !53 = !{} ; previously: invalid DW_TAG_base_type
  321. !54 = !DIImportedEntity(tag: DW_TAG_imported_declaration, file: !5, line: 36, scope: !21, entity: !32)
  322. !55 = !DIImportedEntity(tag: DW_TAG_imported_declaration, file: !5, line: 37, scope: !21, entity: !26)
  323. !56 = !DIImportedEntity(tag: DW_TAG_imported_declaration, file: !5, line: 42, scope: !7, entity: !31)
  324. !57 = !{i32 2, !"Dwarf Version", i32 2}
  325. !58 = !{i32 2, !"Debug Info Version", i32 3}
  326. !59 = !{!"clang version 3.6.0 "}
  327. !60 = !DILocation(line: 3, column: 12, scope: !10)
  328. !61 = !DILocalVariable(name: "", line: 4, arg: 1, scope: !14, file: !18, type: !13)
  329. !62 = !DIExpression()
  330. !63 = !DILocation(line: 4, column: 12, scope: !14)
  331. !64 = !DILocation(line: 4, column: 16, scope: !14)
  332. !65 = !DILocation(line: 20, column: 12, scope: !17)
  333. !66 = !DILocalVariable(name: "b", line: 21, arg: 1, scope: !21, file: !18, type: !24)
  334. !67 = !DILocation(line: 21, column: 15, scope: !21)
  335. !68 = !DILocation(line: 22, column: 7, scope: !21)
  336. !69 = !DILocation(line: 24, column: 5, scope: !38)
  337. !70 = !DILocation(line: 38, column: 3, scope: !21)
  338. !71 = !DILocation(line: 39, column: 1, scope: !21)
  339. !72 = !DILocation(line: 44, column: 15, scope: !25)
  340. !73 = !DILocation(line: 47, column: 21, scope: !26)
  341. !74 = !DILocation(line: 0, scope: !75)
  342. !75 = !DILexicalBlockFile(discriminator: 0, file: !5, scope: !27)
  343. !131 = !DIGlobalVariableExpression(var: !31, expr: !DIExpression())
  344. !132 = !DIGlobalVariableExpression(var: !32, expr: !DIExpression())