mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-10 22:00:58 +00:00
e61ac366bf
Fail gracefully instead of crashing upon encountering this type of relocation. Differential revision: https://reviews.llvm.org/D41857 llvm-svn: 322266
14 lines
314 B
ArmAsm
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
|