xref: /llvm-project/llvm/test/CodeGen/AMDGPU/debug_frame.ll (revision 41f8b8e8075bfb80037390ff033558565f656007)
1*41f8b8e8SRamNalamothu; RUN: llc -mtriple=amdgcn-amd-amdhsa -o - < %s | FileCheck %s
2*41f8b8e8SRamNalamothu; RUN: llc -mtriple=amdgcn-amd-amdhsa --force-dwarf-frame-section -o - < %s | FileCheck %s
3*41f8b8e8SRamNalamothu; RUN: llc -mtriple=amdgcn-amd-amdhsa --exception-model=dwarf -o - < %s | FileCheck %s
4*41f8b8e8SRamNalamothu; RUN: llc -mtriple=amdgcn-amd-amdhsa --force-dwarf-frame-section --exception-model=dwarf -o - < %s | FileCheck %s
5b6c3a59cSRamNalamothu
6*41f8b8e8SRamNalamothu; CHECK: .cfi_sections .debug_frame
7b6c3a59cSRamNalamothu
8b6c3a59cSRamNalamothudefine void @f() nounwind !dbg !0 {
9b6c3a59cSRamNalamothuentry:
10b6c3a59cSRamNalamothu  ret void
11b6c3a59cSRamNalamothu}
12b6c3a59cSRamNalamothu
13b6c3a59cSRamNalamothu!llvm.dbg.cu = !{!2}
14b6c3a59cSRamNalamothu!llvm.module.flags = !{!7}
15b6c3a59cSRamNalamothu!5 = !{!0}
16b6c3a59cSRamNalamothu
17b6c3a59cSRamNalamothu!0 = distinct !DISubprogram(name: "f", line: 1, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: true, unit: !2, scopeLine: 1, file: !6, scope: !1, type: !3)
18b6c3a59cSRamNalamothu!1 = !DIFile(filename: "/home/espindola/llvm/test.c", directory: "/home/espindola/llvm/build")
19b6c3a59cSRamNalamothu!2 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "clang version 3.0 ()", isOptimized: true, emissionKind: FullDebug, file: !6, enums: !{}, retainedTypes: !{})
20b6c3a59cSRamNalamothu!3 = !DISubroutineType(types: !4)
21b6c3a59cSRamNalamothu!4 = !{null}
22b6c3a59cSRamNalamothu!6 = !DIFile(filename: "/home/espindola/llvm/test.c", directory: "/home/espindola/llvm/build")
23b6c3a59cSRamNalamothu!7 = !{i32 1, !"Debug Info Version", i32 3}
24