HomePhabricator

[mips] Fix crash on recursive using of .set

Description

[mips] Fix crash on recursive using of .set

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

Details

Committed
atanasyanMar 19 2019, 8:15 AM
Differential Revision
D59452: [mips] Fix crash on recursive using of .set
Parents
rL356460: [DebugInfo] Move test files added in r356451
Branches
Unknown
Tags
Unknown