summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/Mips/ptr-size.s
blob: 807265be2e9cb134690db5de9ae184482519c855 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# RUN: llvm-mc -filetype=obj -triple mips--gnu -g %s \
# RUN:   | llvm-dwarfdump -debug-info - | FileCheck --check-prefix=O32 %s
# RUN: llvm-mc -filetype=obj -triple mips64--gnuabin32 -g %s \
# RUN:   | llvm-dwarfdump -debug-info - | FileCheck --check-prefix=N32 %s
# RUN: llvm-mc -filetype=obj -triple mips64--gnuabi64 -g %s \
# RUN:   | llvm-dwarfdump -debug-info - | FileCheck --check-prefix=N64 %s

# O32: addr_size = 0x04
# N32: addr_size = 0x04
# N64: addr_size = 0x08

foo:
  nop
OpenPOWER on IntegriCloud