From c04b78627d6755fed9f55f2f5b4dbe6d72eb70a6 Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Wed, 27 Aug 2014 00:04:16 +0000 Subject: [PATCH] Fix a couple of debug info test cases to match the metadata schema change in r216239 Found these while testing something else. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216505 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/DebugInfo/X86/line-info.ll | 2 +- test/Linker/type-unique-simple2-a.ll | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/DebugInfo/X86/line-info.ll b/test/DebugInfo/X86/line-info.ll index f6deee9ff16..619ea3cffb3 100644 --- a/test/DebugInfo/X86/line-info.ll +++ b/test/DebugInfo/X86/line-info.ll @@ -56,5 +56,5 @@ attributes #1 = { nounwind readnone } !15 = metadata !{i32 1, i32 0, metadata !4, null} !16 = metadata !{i32 2, i32 0, metadata !4, null} !17 = metadata !{i32 3, i32 0, metadata !18, null} -!18 = metadata !{i32 786443, metadata !11, metadata !10} ; [ DW_TAG_lexical_block ] [/usr/local/google/home/blaikie/dev/scratch/list0.c] +!18 = metadata !{i32 786443, metadata !11, metadata !10, i32 0} ; [ DW_TAG_lexical_block ] [/usr/local/google/home/blaikie/dev/scratch/list0.c] !19 = metadata !{i32 1, metadata !"Debug Info Version", i32 1} diff --git a/test/Linker/type-unique-simple2-a.ll b/test/Linker/type-unique-simple2-a.ll index d0f1155fe65..24805bae0c8 100644 --- a/test/Linker/type-unique-simple2-a.ll +++ b/test/Linker/type-unique-simple2-a.ll @@ -123,7 +123,7 @@ attributes #4 = { nounwind readnone } !40 = metadata !{i32 786447, null, null, metadata !"", i32 0, i64 64, i64 64, i64 0, i32 0, metadata !"_ZTS1A"} ; [ DW_TAG_pointer_type ] [line 0, size 64, align 64, offset 0] [from _ZTS1A] !41 = metadata !{i32 0, i32 0, metadata !31, null} !42 = metadata !{i32 2, i32 0, metadata !43, null} -!43 = metadata !{i32 786443, metadata !5, metadata !31} ; [ DW_TAG_lexical_block ] [/./ab.h] +!43 = metadata !{i32 786443, metadata !5, metadata !31, i32 0} ; [ DW_TAG_lexical_block ] [/./ab.h] !44 = metadata !{i32 786689, metadata !34, metadata !"this", null, i32 16777216, metadata !40, i32 1088, i32 0} ; [ DW_TAG_arg_variable ] [this] [line 0] !45 = metadata !{i32 0, i32 0, metadata !34, null} !46 = metadata !{i32 2, i32 0, metadata !34, null}