Home | History | Annotate | Download | only in AsmParser
      1 # RUN: llvm-mc -triple i386-pc-linux-gnu -filetype=obj -o %t %s
      2 # RUN: llvm-readobj -s < %t | FileCheck %s
      3 .section .nobits
      4 .byte 1
      5 .section .nobits2
      6 .byte 1
      7 .section .nobitsfoo
      8 .byte 1
      9 .section .init_array
     10 .byte 1
     11 .section .init_array.42
     12 .byte 1
     13 .section .init_array2
     14 .byte 1
     15 .section .init_arrayfoo
     16 .byte 1
     17 .section .fini_array
     18 .byte 1
     19 .section .fini_array2
     20 .byte 1
     21 .section .fini_arrayfoo
     22 .byte 1
     23 .section .preinit_array
     24 .byte 1
     25 .section .preinit_array2
     26 .byte 1
     27 .section .preinit_arrayfoo
     28 .byte 1
     29 .section .note
     30 .byte 1
     31 .section .note2
     32 .byte 1
     33 .section .notefoo
     34 .byte 1
     35 .section .bss
     36 .space 1
     37 .section .bss.foo
     38 .space 1
     39 .section .tbss
     40 .space 1
     41 .section .tbss.foo
     42 .space 1
     43 # CHECK:        Name: .nobits
     44 # CHECK-NEXT:   Type: SHT_PROGBITS
     45 # CHECK:        Name: .nobits2
     46 # CHECK-NEXT:   Type: SHT_PROGBITS
     47 # CHECK:        Name: .nobitsfoo
     48 # CHECK-NEXT:   Type: SHT_PROGBITS
     49 # CHECK:        Name: .init_array
     50 # CHECK-NEXT:   Type:  SHT_INIT_ARRAY
     51 # CHECK:        Name: .init_array.42
     52 # CHECK-NEXT:   Type:  SHT_INIT_ARRAY
     53 # CHECK:        Name: .init_array2
     54 # CHECK-NEXT:   Type: SHT_PROGBITS
     55 # CHECK:        Name: .init_arrayfoo
     56 # CHECK-NEXT:   Type: SHT_PROGBITS
     57 # CHECK:        Name: .fini_array
     58 # CHECK-NEXT:   Type: SHT_FINI_ARRAY
     59 # CHECK:        Name: .fini_array2
     60 # CHECK-NEXT:   Type: SHT_PROGBITS
     61 # CHECK:        Name: .fini_arrayfoo
     62 # CHECK-NEXT:   Type: SHT_PROGBITS
     63 # CHECK:        Name: .preinit_array
     64 # CHECK-NEXT:   Type: SHT_PREINIT_ARRAY
     65 # CHECK:        Name: .preinit_array2
     66 # CHECK-NEXT:   Type: SHT_PROGBITS
     67 # CHECK:        Name: .preinit_arrayfoo
     68 # CHECK-NEXT:   Type: SHT_PROGBITS
     69 # CHECK:        Name: .note
     70 # CHECK-NEXT:   Type: SHT_NOTE
     71 # CHECK:        Name: .note2
     72 # CHECK-NEXT:   Type: SHT_NOTE
     73 # CHECK:        Name: .notefoo
     74 # CHECK-NEXT:   Type: SHT_NOTE
     75 # CHECK:        Name: .bss
     76 # CHECK-NEXT:   Type: SHT_NOBITS
     77 # CHECK:        Name: .bss.foo
     78 # CHECK-NEXT:   Type: SHT_NOBITS
     79 # CHECK:        Name: .tbss
     80 # CHECK-NEXT:   Type: SHT_NOBITS
     81 # CHECK:        Name: .tbss.foo
     82 # CHECK-NEXT:   Type: SHT_NOBITS
     83