linux-packaging-mono/external/llvm/test/MC/Mips/unsupported-relocation.s
Xamarin Public Jenkins (auto-signing) ef583813eb Imported Upstream version 6.4.0.137
Former-commit-id: 943baa9f16a098c33e129777827f3a9d20da00d6
2019-07-26 19:53:28 +00:00

14 lines
314 B
ArmAsm

# RUN: not llvm-mc -triple mips-unknown-linux -filetype=obj %s 2>%t
# RUN: FileCheck %s < %t
# Check that we emit an error for unsupported relocations instead of crashing.
.globl x
.data
foo:
.byte x
.byte x+1
# CHECK: LLVM ERROR: MIPS does not support one byte relocations