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 | 39bb84a09793331da8e56e913026e0829f5c1620 (patch) | |
tree | eefaa90b96539da5c8f202e6e0187d86d5353f60 /test/Linker/debug-info-version-a.ll | |
parent | ff85de827737247cad3a9387e0be9f29458f5218 (diff) |
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>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@265077 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Linker/debug-info-version-a.ll')
-rw-r--r-- | test/Linker/debug-info-version-a.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Linker/debug-info-version-a.ll b/test/Linker/debug-info-version-a.ll index 43f374ff5b0..1d1793fdc0b 100644 --- a/test/Linker/debug-info-version-a.ll +++ b/test/Linker/debug-info-version-a.ll @@ -11,6 +11,6 @@ !llvm.dbg.cu = !{!1} !0 = !{i32 2, !"Debug Info Version", i32 3} -!1 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "clang", isOptimized: true, emissionKind: 0, file: !2, enums: !3, retainedTypes: !3, subprograms: !3) +!1 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "clang", isOptimized: true, emissionKind: 1, file: !2, enums: !3, retainedTypes: !3, subprograms: !3) !2 = !DIFile(filename: "a.c", directory: "") !3 = !{} |