1*9880d681SAndroid Build Coastguard Worker; RUN: llc -mtriple thumbv7--windows-itanium -filetype obj -o - %s \ 2*9880d681SAndroid Build Coastguard Worker; RUN: | llvm-readobj -r - | FileCheck %s -check-prefix CHECK-ITANIUM 3*9880d681SAndroid Build Coastguard Worker 4*9880d681SAndroid Build Coastguard Worker; RUN: sed -e 's/"Dwarf Version"/"CodeView"/' %s \ 5*9880d681SAndroid Build Coastguard Worker; RUN: | llc -mtriple thumbv7--windows-msvc -filetype obj -o - \ 6*9880d681SAndroid Build Coastguard Worker; RUN: | llvm-readobj -r - | FileCheck %s -check-prefix CHECK-MSVC 7*9880d681SAndroid Build Coastguard Worker 8*9880d681SAndroid Build Coastguard Worker; ModuleID = '/Users/compnerd/work/llvm/test/MC/ARM/reduced.c' 9*9880d681SAndroid Build Coastguard Workertarget 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" 10*9880d681SAndroid Build Coastguard Workertarget triple = "thumbv7--windows-itanium" 11*9880d681SAndroid Build Coastguard Worker 12*9880d681SAndroid Build Coastguard Workerdefine arm_aapcs_vfpcc void @function() !dbg !1 { 13*9880d681SAndroid Build Coastguard Workerentry: 14*9880d681SAndroid Build Coastguard Worker ret void, !dbg !0 15*9880d681SAndroid Build Coastguard Worker} 16*9880d681SAndroid Build Coastguard Worker 17*9880d681SAndroid Build Coastguard Worker!llvm.dbg.cu = !{!7} 18*9880d681SAndroid Build Coastguard Worker!llvm.module.flags = !{!9, !10} 19*9880d681SAndroid Build Coastguard Worker 20*9880d681SAndroid Build Coastguard Worker!0 = !DILocation(line: 1, scope: !1) 21*9880d681SAndroid Build Coastguard Worker!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, variables: !6) 22*9880d681SAndroid Build Coastguard Worker!2 = !DIFile(filename: "/Users/compnerd/work/llvm/test/MC/ARM/reduced.c", directory: "/Users/compnerd/work/llvm") 23*9880d681SAndroid Build Coastguard Worker!3 = !DIFile(filename: "/Users/compnerd/work/llvm/test/MC/ARM/reduced.c", directory: "/Users/compnerd/work/llvm") 24*9880d681SAndroid Build Coastguard Worker!4 = !DISubroutineType(types: !5) 25*9880d681SAndroid Build Coastguard Worker!5 = !{null} 26*9880d681SAndroid Build Coastguard Worker!6 = !{} 27*9880d681SAndroid Build Coastguard Worker!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) 28*9880d681SAndroid Build Coastguard Worker!9 = !{i32 2, !"Dwarf Version", i32 4} 29*9880d681SAndroid Build Coastguard Worker!10 = !{i32 1, !"Debug Info Version", i32 3} 30*9880d681SAndroid Build Coastguard Worker 31*9880d681SAndroid Build Coastguard Worker; CHECK-ITANIUM: Relocations [ 32*9880d681SAndroid Build Coastguard Worker; CHECK-ITANIUM: Section {{.*}} .debug_info { 33*9880d681SAndroid Build Coastguard Worker; CHECK-ITANIUM: 0x6 IMAGE_REL_ARM_SECREL .debug_abbrev 34*9880d681SAndroid Build Coastguard Worker; CHECK-ITANIUM: 0xC IMAGE_REL_ARM_SECREL .debug_str 35*9880d681SAndroid Build Coastguard Worker; CHECK-ITANIUM: 0x12 IMAGE_REL_ARM_SECREL .debug_str 36*9880d681SAndroid Build Coastguard Worker; CHECK-ITANIUM: 0x16 IMAGE_REL_ARM_SECREL .debug_line 37*9880d681SAndroid Build Coastguard Worker; CHECK-ITANIUM: } 38*9880d681SAndroid Build Coastguard Worker; CHECK-ITANIUM: Section {{.*}}.debug_pubnames { 39*9880d681SAndroid Build Coastguard Worker; CHECK-ITANIUM: 0x6 IMAGE_REL_ARM_SECREL .debug_info 40*9880d681SAndroid Build Coastguard Worker; CHECK-ITANIUM: } 41*9880d681SAndroid Build Coastguard Worker; CHECK-ITANIUM: ] 42*9880d681SAndroid Build Coastguard Worker 43*9880d681SAndroid Build Coastguard Worker; CHECK-MSVC: Relocations [ 44*9880d681SAndroid Build Coastguard Worker; CHECK-MSVC: Section {{.*}} .debug$S { 45*9880d681SAndroid Build Coastguard Worker; CHECK-MSVC: 0x2C IMAGE_REL_ARM_SECREL function 46*9880d681SAndroid Build Coastguard Worker; CHECK-MSVC: 0x30 IMAGE_REL_ARM_SECTION function 47*9880d681SAndroid Build Coastguard Worker; CHECK-MSVC: 0x48 IMAGE_REL_ARM_SECREL function 48*9880d681SAndroid Build Coastguard Worker; CHECK-MSVC: 0x4C IMAGE_REL_ARM_SECTION function 49*9880d681SAndroid Build Coastguard Worker; CHECK-MSVC: } 50*9880d681SAndroid Build Coastguard Worker; CHECK-MSVC: ] 51*9880d681SAndroid Build Coastguard Worker 52