Add printing the LC_ENCRYPTION_INFO load command with llvm-objdump’s -private-headers.
[oota-llvm.git] / test / DebugInfo / 2010-03-12-llc-crash.ll
1 ; RUN: llc -O0 < %s -o /dev/null
2 ; llc should not crash on this invalid input.
3 ; PR6588
4 declare void @llvm.dbg.declare(metadata, metadata, metadata) nounwind readnone
5
6 define void @foo() {
7 entry:
8   call void @llvm.dbg.declare(metadata i32* undef, metadata !0, metadata !{!"0x102"})
9   ret void
10 }
11
12 !0 = !{!"0x101\00sy\00890\000", !1, !2, !7} ; [ DW_TAG_arg_variable ]
13 !1 = !{!"0x2e\00foo\00foo\00foo\00892\000\001\000\006\000\000\000", !8, !3, !4, null, null, null, null, null} ; [ DW_TAG_subprogram ]
14 !2 = !{!"0x29", !8} ; [ DW_TAG_file_type ]
15 !3 = !{!"0x11\004\00clang 1.1\001\00\000\00\000", !9, !10, !10, null, null, null} ; [ DW_TAG_compile_unit ]
16 !4 = !{!"0x15\00\000\000\000\000\000\000", !9, !5, null, !6, null, null, null} ; [ DW_TAG_subroutine_type ] [line 0, size 0, align 0, offset 0] [from ]
17 !5 = !{!"0x29", !9} ; [ DW_TAG_file_type ]
18 !6 = !{null}
19 !7 = !{!"0x24\00int\000\0032\0032\000\000\005", !9, !5} ; [ DW_TAG_base_type ]
20 !8 = !{!"qpainter.h", !"QtGui"}
21 !9 = !{!"splineeditor.cpp", !"src"}
22 !10 = !{i32 0}