mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
d722efa0b9
Summary: Instead of crashing due to the `llvm_unreachable`, provide a proper error when invalid fixups/relocations are encountered. Reviewers: asb, lenary Reviewed By: asb Tags: #llvm Differential Revision: https://reviews.llvm.org/D71536
8 lines
355 B
ArmAsm
8 lines
355 B
ArmAsm
# RUN: not llvm-mc -filetype=obj %s -triple=riscv32 -o /dev/null 2>&1 \
|
|
# RUN: | FileCheck %s
|
|
# RUN: not llvm-mc -filetype=obj %s -triple=riscv64 -o /dev/null 2>&1 \
|
|
# RUN: | FileCheck %s
|
|
|
|
.byte foo # CHECK: [[@LINE]]:7: error: 1-byte data relocations not supported
|
|
.2byte foo # CHECK: [[@LINE]]:8: error: 2-byte data relocations not supported
|