diff options
author | Keno Fischer <kfischer@college.harvard.edu> | 2016-01-07 22:39:11 +0000 |
---|---|---|
committer | Keno Fischer <kfischer@college.harvard.edu> | 2016-01-07 22:39:11 +0000 |
commit | ea33a258162a7af6ee400fca06ef917e0ba960db (patch) | |
tree | 19393c6707d8277bde1114a490586a7ad9d7d890 /llvm/test/CodeGen/MIR | |
parent | 6e8526358fba6da130202b349a81af7fcf11a960 (diff) | |
download | bcm5719-llvm-ea33a258162a7af6ee400fca06ef917e0ba960db.tar.gz bcm5719-llvm-ea33a258162a7af6ee400fca06ef917e0ba960db.zip |
Temporarily revert r257105 "[Verifier] Check that debug values have proper size"
Looks like there's a case where clang generates debug info that triggers
the new verifier check. Reverting while investigating.
llvm-svn: 257107
Diffstat (limited to 'llvm/test/CodeGen/MIR')
-rw-r--r-- | llvm/test/CodeGen/MIR/X86/invalid-metadata-node-type.mir | 2 | ||||
-rw-r--r-- | llvm/test/CodeGen/MIR/X86/stack-object-debug-info.mir | 7 |
2 files changed, 3 insertions, 6 deletions
diff --git a/llvm/test/CodeGen/MIR/X86/invalid-metadata-node-type.mir b/llvm/test/CodeGen/MIR/X86/invalid-metadata-node-type.mir index 47f41b2afb8..a6c2e509da0 100644 --- a/llvm/test/CodeGen/MIR/X86/invalid-metadata-node-type.mir +++ b/llvm/test/CodeGen/MIR/X86/invalid-metadata-node-type.mir @@ -6,7 +6,7 @@ entry: %x.i = alloca i8, align 1 %y.i = alloca [256 x i8], align 16 - %0 = bitcast i8* %x.i to i8* + %0 = bitcast [256 x i8]* %y.i to i8* br label %for.body for.body: diff --git a/llvm/test/CodeGen/MIR/X86/stack-object-debug-info.mir b/llvm/test/CodeGen/MIR/X86/stack-object-debug-info.mir index 8074f7603b7..509b196416f 100644 --- a/llvm/test/CodeGen/MIR/X86/stack-object-debug-info.mir +++ b/llvm/test/CodeGen/MIR/X86/stack-object-debug-info.mir @@ -35,14 +35,11 @@ !1 = !DIFile(filename: "t.c", directory: "") !2 = !{} !3 = !{i32 1, !"Debug Info Version", i32 3} - !4 = !DILocalVariable(name: "x", scope: !5, file: !1, line: 16, type: !9) + !4 = !DILocalVariable(name: "x", scope: !5, file: !1, line: 16, type: !6) !5 = distinct !DISubprogram(scope: null, isLocal: false, isDefinition: true, isOptimized: false) !6 = !DIBasicType(name: "char", size: 8, align: 8, encoding: DW_ATE_signed_char) !7 = !DIExpression() !8 = !DILocation(line: 0, scope: !5) - !9 = !DICompositeType(tag: DW_TAG_array_type, baseType: !6, size: 2048, align: 8, elements: !10) - !10 = !{!11} - !11 = !DISubrange(count: 256) ... --- name: foo @@ -53,7 +50,7 @@ frameInfo: # CHECK-LABEL: foo # CHECK: stack: # CHECK: - { id: 0, name: y.i, offset: 0, size: 256, alignment: 16, di-variable: '!4', -# CHECK-NEXT: di-expression: '!10', di-location: '!11' } +# CHECK-NEXT: di-expression: '!7', di-location: '!8' } stack: - { id: 0, name: y.i, offset: 0, size: 256, alignment: 16, di-variable: '!4', di-expression: '!7', di-location: '!8' } |