commit | 859f51df4d0e23c21adc2167d738cf1e6c0f2613 | [log] [tgz] |
---|---|---|
author | Richard Sandiford <richard.sandiford@arm.com> | Thu Mar 30 11:09:07 2023 +0100 |
committer | Richard Sandiford <richard.sandiford@arm.com> | Thu Mar 30 11:09:07 2023 +0100 |
tree | 4be0fd16ae64e3c2cca72c6fba77171a54ad8fe8 | |
parent | 36043bcff490e6c588d5b52318fbba233f478fab [diff] |
aarch64: Add an error code for out-of-range registers libopcodes currently reports out-of-range registers as a general AARCH64_OPDE_OTHER_ERROR. However, this means that each register range needs its own hard-coded string, which is a bit cumbersome if the range is determined programmatically. This patch therefore adds a dedicated error type for out-of-range errors.