diff options
author | Sjoerd Meijer <sjoerd.meijer@arm.com> | 2017-07-05 12:39:13 +0000 |
---|---|---|
committer | Sjoerd Meijer <sjoerd.meijer@arm.com> | 2017-07-05 12:39:13 +0000 |
commit | 6d14fdf62da34df9e65669a00745d597cfb882df (patch) | |
tree | bcbdd7d3714056b7d5edda5f629b5c2a441e6514 /lldb/packages/Python/lldbsuite/test/python_api/interpreter/main.c | |
parent | 835ac9bc62fdea9e9a35861b1a5c95a63f340c19 (diff) | |
download | bcm5719-llvm-6d14fdf62da34df9e65669a00745d597cfb882df.tar.gz bcm5719-llvm-6d14fdf62da34df9e65669a00745d597cfb882df.zip |
[AsmParser] Mnemonic Spell Corrector
This implements suggesting other mnemonics when an invalid one is specified,
for example:
$ echo "adXd r1,r2,#3" | llvm-mc -triple arm
<stdin>:1:1: error: invalid instruction, did you mean: add, qadd?
adXd r1,r2,#3
^
The implementation is target agnostic, but as a first step I have added it only
to the ARM backend; so the ARM backend is a good example if someone wants to
enable this too for another target.
Differential Revision: https://reviews.llvm.org/D33128
llvm-svn: 307148
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/interpreter/main.c')
0 files changed, 0 insertions, 0 deletions