mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-11 13:37:07 +00:00
73ac7e25b8
Storing the source location of the expression that created a constant pool entry allows us to emit better error messages if we later discover that the expression cannot be represented by a relocation. Differential Revision: http://reviews.llvm.org/D14646 llvm-svn: 253220
6 lines
199 B
ArmAsm
6 lines
199 B
ArmAsm
@ RUN: not llvm-mc -triple armv7a--none-eabi -filetype obj < %s -o /dev/null 2>&1 | FileCheck %s
|
|
|
|
.text
|
|
@ CHECK: :[[@LINE+1]]:{{[0-9]+}}: error: expected relocatable expression
|
|
ldr r0, =(-undef)
|