1# RUN: llvm-mc -triple i686-windows-gnu -g %s -filetype obj -o - \ 2# RUN: | llvm-readobj -r - | FileCheck -check-prefix CHECK-COFF %s 3# RUN: llvm-mc -triple i686-windows-itanium -g %s -filetype obj -o - \ 4# RUN: | llvm-readobj -r - | FileCheck -check-prefix CHECK-COFF %s 5# RUN: llvm-mc -triple i686-linux-gnu -g %s -filetype obj -o - \ 6# RUN: | llvm-readobj -r - | FileCheck -check-prefix CHECK-ELF %s 7 8_a: 9 movl $65, %eax 10 ret 11 12# CHECK-COFF: Relocations [ 13# CHECK-COFF: Section {{.*}} .debug_info { 14# CHECK-COFF: 0x6 IMAGE_REL_I386_SECREL .debug_abbrev 15# CHECK-COFF: 0xC IMAGE_REL_I386_SECREL .debug_line 16# CHECK-COFF: } 17# CHECK-COFF: Section {{.*}} .debug_aranges { 18# CHECK-COFF: 0x6 IMAGE_REL_I386_SECREL .debug_info 19# CHECK-COFF: } 20# CHECK-COFF: ] 21 22# CHECK-ELF: Relocations [ 23# CHECK-ELF: Section {{.*}} .rel.debug_info { 24# CHECK-ELF: 0x6 R_386_32 .debug_abbrev 25# CHECK-ELF: 0xC R_386_32 .debug_line 26# CHECK-ELF: } 27# CHECK-ELF: Section {{.*}} .rel.debug_aranges { 28# CHECK-ELF: 0x6 R_386_32 .debug_info 29# CHECK-ELF: } 30# CHECK-ELF: ] 31