File: coff-debugging-secrel.ll

package info (click to toggle)
llvm-toolchain-17 1%3A17.0.6-22
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,799,624 kB
  • sloc: cpp: 6,428,607; ansic: 1,383,196; asm: 793,408; python: 223,504; objc: 75,364; f90: 60,502; lisp: 33,869; pascal: 15,282; sh: 9,684; perl: 7,453; ml: 4,937; awk: 3,523; makefile: 2,889; javascript: 2,149; xml: 888; fortran: 619; cs: 573
file content (51 lines) | stat: -rw-r--r-- 2,278 bytes parent folder | download | duplicates (16)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
; RUN: llc -mtriple thumbv7--windows-itanium -filetype obj -o - %s \
; RUN:     | llvm-readobj -r - | FileCheck %s -check-prefix CHECK-ITANIUM

; RUN: sed -e 's/"Dwarf Version"/"CodeView"/' %s \
; RUN:    | llc -mtriple thumbv7--windows-msvc -filetype obj -o - \
; RUN:    | llvm-readobj -r - | FileCheck %s -check-prefix CHECK-MSVC

; ModuleID = '/Users/compnerd/work/llvm/test/MC/ARM/reduced.c'
target datalayout = "e-m:e-p:32:32-i1:8:32-i8:8:32-i16:16:32-i64:64-v128:64:128-a:0:32-n32-S64"
target triple = "thumbv7--windows-itanium"

define arm_aapcs_vfpcc void @function() !dbg !1 {
entry:
  ret void, !dbg !0
}

!llvm.dbg.cu = !{!7}
!llvm.module.flags = !{!9, !10}

!0 = !DILocation(line: 1, scope: !1)
!1 = distinct !DISubprogram(name: "function", line: 1, isLocal: false, isDefinition: true, virtualIndex: 6, isOptimized: false, unit: !7, scopeLine: 1, file: !2, scope: !3, type: !4, retainedNodes: !6)
!2 = !DIFile(filename: "/Users/compnerd/work/llvm/test/MC/ARM/reduced.c", directory: "/Users/compnerd/work/llvm")
!3 = !DIFile(filename: "/Users/compnerd/work/llvm/test/MC/ARM/reduced.c", directory: "/Users/compnerd/work/llvm")
!4 = !DISubroutineType(types: !5)
!5 = !{null}
!6 = !{}
!7 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "clang version 3.5.0", isOptimized: false, emissionKind: FullDebug, file: !2, enums: !6, retainedTypes: !6, globals: !6, imports: !6)
!9 = !{i32 2, !"Dwarf Version", i32 4}
!10 = !{i32 1, !"Debug Info Version", i32 3}

; CHECK-ITANIUM: Relocations [
; CHECK-ITANIUM:   Section {{.*}} .debug_info {
; CHECK-ITANIUM:     0x6 IMAGE_REL_ARM_SECREL .debug_abbrev
; CHECK-ITANIUM:     0xC IMAGE_REL_ARM_SECREL .debug_str
; CHECK-ITANIUM:     0x12 IMAGE_REL_ARM_SECREL .debug_str
; CHECK-ITANIUM:     0x16 IMAGE_REL_ARM_SECREL .debug_line
; CHECK-ITANIUM:   }
; CHECK-ITANIUM:   Section {{.*}}.debug_pubnames {
; CHECK-ITANIUM:     0x6 IMAGE_REL_ARM_SECREL .debug_info
; CHECK-ITANIUM:   }
; CHECK-ITANIUM: ]

; CHECK-MSVC: Relocations [
; CHECK-MSVC:   Section {{.*}} .debug$S {
; CHECK-MSVC:     0x70 IMAGE_REL_ARM_SECREL function
; CHECK-MSVC:     0x74 IMAGE_REL_ARM_SECTION function
; CHECK-MSVC:     0xAC IMAGE_REL_ARM_SECREL function
; CHECK-MSVC:     0xB0 IMAGE_REL_ARM_SECTION function
; CHECK-MSVC:   }
; CHECK-MSVC: ]