summaryrefslogtreecommitdiff
path: root/llvm/test/MC/SystemZ/gnu-attributes.s
blob: fc62062b7c50cf729b76bb632d78fdd86fb340ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# RUN: llvm-mc -triple s390x-linux-gnu -filetype=asm %s | \
# RUN: FileCheck %s --check-prefix=ASM
# RUN: llvm-mc -triple s390x-linux-gnu -filetype=obj %s | \
# RUN: llvm-objdump --mcpu=z14 -D - | FileCheck %s --check-prefix=OBJ

#ASM:      .text
#ASM:      .gnu_attribute 8, 2

#OBJ:  0000000000000000 <.gnu.attributes>:
#OBJ:       0: 41 00 00 00
#OBJ:       4: 0f 67
#OBJ:       6: 6e 75 00 01
#OBJ:       a: 00 00
#OBJ:       c: 00 07
#OBJ:       e: 08 02

  .gnu_attribute 8, 2