mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
8ca3b3f070
CodePointerSize and CalleeSaveStackSlotSize values are used in DWARF generation. In case of MIPS it's incorrect to check for Triple::isMIPS64() only this function returns true for N32 ABI too. Now we do not have a method to recognize N32 if it's specified by a command line option and is not a part of a target triple. So we check for Triple::GNUABIN32 only. It's better than nothing. Differential revision: https://reviews.llvm.org/D52874 llvm-svn: 344039
14 lines
487 B
ArmAsm
14 lines
487 B
ArmAsm
# 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
|