blob: 56122e3c530669a5ebcb7e0af3f3cc386b3ec199 [file] [log] [blame]
Rafael Espindola14e1b582011-05-10 23:14:29 +00001; RUN: llc %s -mtriple=i686-pc-linux-gnu -o - | FileCheck %s
Rafael Espindolafdc3e6f2011-05-10 18:39:09 +00002
3; Test that we produce a .debug_frame, not an .eh_frame
4
5; CHECK: .cfi_sections .debug_frame
6
7define void @f() nounwind {
8entry:
9 ret void
10}
11
David Blaikiee5a2f702013-03-08 00:23:31 +000012!llvm.dbg.cu = !{!2}
Manman Ren409558f2013-11-22 21:49:45 +000013!llvm.module.flags = !{!7}
Duncan P. N. Exon Smithbe7ea192014-12-15 19:07:53 +000014!5 = !{!0}
Rafael Espindolafdc3e6f2011-05-10 18:39:09 +000015
Duncan P. N. Exon Smithbe7ea192014-12-15 19:07:53 +000016!0 = !{!"0x2e\00f\00f\00\001\000\001\000\006\00256\001\001", !6, !1, !3, null, void ()* @f, null, null, null} ; [ DW_TAG_subprogram ] [line 1] [def] [f]
17!1 = !{!"0x29", !6} ; [ DW_TAG_file_type ]
18!2 = !{!"0x11\0012\00clang version 3.0 ()\001\00\000\00\000", !6, !4, !4, !5, null, null} ; [ DW_TAG_compile_unit ]
19!3 = !{!"0x15\00\000\000\000\000\000\000", !6, !1, null, !4, null, null, null} ; [ DW_TAG_subroutine_type ] [line 0, size 0, align 0, offset 0] [from ]
20!4 = !{null}
21!6 = !{!"/home/espindola/llvm/test.c", !"/home/espindola/llvm/build"}
22!7 = !{i32 1, !"Debug Info Version", i32 2}