diff options
author | Adrian Prantl <aprantl@apple.com> | 2016-03-31 23:56:58 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2016-03-31 23:56:58 +0000 |
commit | b939a257070d71eee3c18415ca6104731c7923a6 (patch) | |
tree | 19c0a55e59c2cab8bc8849d68af08dd624eb0dd0 /llvm/test/DebugInfo/Generic/array.ll | |
parent | 649159df3cdd797f323eb8f198e6e77816ba93ef (diff) | |
download | bcm5719-llvm-b939a257070d71eee3c18415ca6104731c7923a6.tar.gz bcm5719-llvm-b939a257070d71eee3c18415ca6104731c7923a6.zip |
Move the DebugEmissionKind enum from DIBuilder into DICompileUnit.
This mostly cosmetic patch moves the DebugEmissionKind enum from DIBuilder
into DICompileUnit. DIBuilder is not the right place for this enum to live
in — a metadata consumer should not have to include DIBuilder.h.
I also added a Verifier check that checks that the emission kind of a
DICompileUnit is actually legal.
http://reviews.llvm.org/D18612
<rdar://problem/25427165>
llvm-svn: 265077
Diffstat (limited to 'llvm/test/DebugInfo/Generic/array.ll')
-rw-r--r-- | llvm/test/DebugInfo/Generic/array.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/DebugInfo/Generic/array.ll b/llvm/test/DebugInfo/Generic/array.ll index 2f181e3b595..b9011c562af 100644 --- a/llvm/test/DebugInfo/Generic/array.ll +++ b/llvm/test/DebugInfo/Generic/array.ll @@ -17,7 +17,7 @@ declare void @llvm.dbg.declare(metadata, metadata, metadata) nounwind readnone !0 = distinct !DISubprogram(name: "main", line: 3, isLocal: false, isDefinition: true, virtualIndex: 6, isOptimized: false, scopeLine: 3, file: !14, scope: !1, type: !3) !1 = !DIFile(filename: "array.c", directory: "/private/tmp") -!2 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "clang version 3.0 (trunk 129138)", isOptimized: false, emissionKind: 0, file: !14, enums: !15, retainedTypes: !15, subprograms: !13, imports: null) +!2 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "clang version 3.0 (trunk 129138)", isOptimized: false, emissionKind: 1, file: !14, enums: !15, retainedTypes: !15, subprograms: !13, imports: null) !3 = !DISubroutineType(types: !4) !4 = !{!5} !5 = !DIBasicType(tag: DW_TAG_base_type, name: "int", size: 32, align: 32, encoding: DW_ATE_signed) |