summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/X86/fission-hash.ll
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2016-03-31 23:56:58 +0000
committerAdrian Prantl <aprantl@apple.com>2016-03-31 23:56:58 +0000
commitb939a257070d71eee3c18415ca6104731c7923a6 (patch)
tree19c0a55e59c2cab8bc8849d68af08dd624eb0dd0 /llvm/test/DebugInfo/X86/fission-hash.ll
parent649159df3cdd797f323eb8f198e6e77816ba93ef (diff)
downloadbcm5719-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/X86/fission-hash.ll')
-rw-r--r--llvm/test/DebugInfo/X86/fission-hash.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/DebugInfo/X86/fission-hash.ll b/llvm/test/DebugInfo/X86/fission-hash.ll
index 84568a92e15..e1c5c1cd9cb 100644
--- a/llvm/test/DebugInfo/X86/fission-hash.ll
+++ b/llvm/test/DebugInfo/X86/fission-hash.ll
@@ -9,7 +9,7 @@
!llvm.dbg.cu = !{!0}
!llvm.module.flags = !{!3, !4}
-!0 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "clang version 3.4 (trunk 188230) (llvm/trunk 188234)", isOptimized: false, splitDebugFilename: "foo.dwo", emissionKind: 0, file: !1, enums: !2, retainedTypes: !2, subprograms: !2, globals: !2, imports: !2)
+!0 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "clang version 3.4 (trunk 188230) (llvm/trunk 188234)", isOptimized: false, splitDebugFilename: "foo.dwo", emissionKind: 1, file: !1, enums: !2, retainedTypes: !2, subprograms: !2, globals: !2, imports: !2)
!1 = !DIFile(filename: "foo.c", directory: "/usr/local/google/home/echristo/tmp")
!2 = !{}
!3 = !{i32 2, !"Dwarf Version", i32 3}
OpenPOWER on IntegriCloud