This is an archive of the discontinued LLVM Phabricator instance.

[mips] Fix crash on recursive using of .set
ClosedPublic

Authored by atanasyan on Mar 16 2019, 6:46 AM.

Details

Summary

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.

Diff Detail

Event Timeline

atanasyan created this revision.Mar 16 2019, 6:46 AM
This revision is now accepted and ready to land.Mar 18 2019, 4:18 AM
This revision was automatically updated to reflect the committed changes.