mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
920b59ce0f
Switch to the `MCParserUtils::parseAssignmentExpression` for parsing assignment expressions in the `.set` directive reduces code and allows to print an error message instead of crashing in case of incorrect recursive using of the `.set`. Fix for the bug https://bugs.llvm.org/show_bug.cgi?id=41053. Differential Revision: http://reviews.llvm.org/D59452 llvm-svn: 356461
6 lines
145 B
ArmAsm
6 lines
145 B
ArmAsm
# RUN: not llvm-mc -triple mips-unknown-linux %s 2>&1 | FileCheck %s
|
|
|
|
.set A, A + 1
|
|
# CHECK: :[[@LINE-1]]:9: error: Recursive use of 'A'
|
|
.word A
|