1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00

[Bitcode] Fix + regenerate old test so that it includes a DICompileUnit.

llvm-svn: 266085
This commit is contained in:
Davide Italiano 2016-04-12 15:51:23 +00:00
parent 6cb5fc80e8
commit e11049fef8
2 changed files with 7 additions and 1 deletions

View File

@ -10,7 +10,13 @@
!named = !{!0}
!0 = distinct !DISubprogram(name: "foo", variables: !1)
!llvm.module.flags = !{!6}
!llvm.dbg.cu = !{!4}
!0 = distinct !DISubprogram(name: "foo", scope: null, isLocal: false, isDefinition: true, isOptimized: false, variables: !1)
!1 = !{!2, !3}
!2 = !DILocalVariable(tag: DW_TAG_arg_variable, name: "param", arg: 1, scope: !0)
!3 = !DILocalVariable(tag: DW_TAG_auto_variable, name: "auto", scope: !0)
!4 = distinct !DICompileUnit(language: DW_LANG_C99, file: !5, subprograms: !{!0})
!5 = !DIFile(filename: "source.c", directory: "/dir")
!6 = !{i32 1, !"Debug Info Version", i32 3}