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
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
17 # CHECK-COFF: Section {{.*}} .debug_aranges {
18 # CHECK-COFF: 0x6 IMAGE_REL_I386_SECREL .debug_info
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
27 # CHECK-ELF: Section {{.*}} .rel.debug_aranges {
28 # CHECK-ELF: 0x6 R_386_32 .debug_info