diff options
author | Lucas Prates <lucas.prates@arm.com> | 2020-01-21 16:36:32 +0000 |
---|---|---|
committer | Lucas Prates <lucas.prates@arm.com> | 2020-03-06 16:25:08 +0000 |
commit | af1c2e561e5fbd584093b1200cf364fe1b7ec7c4 (patch) | |
tree | fa03dc11657d8f3d2670ba6afbdedb21ba2fb402 /lldb/packages/Python/lldbsuite/test/lldbdwarf.py | |
parent | 2eff1c3ce48ef529064e2dc006d57c37da0b4d84 (diff) | |
download | llvm-af1c2e561e5fbd584093b1200cf364fe1b7ec7c4.zip llvm-af1c2e561e5fbd584093b1200cf364fe1b7ec7c4.tar.gz llvm-af1c2e561e5fbd584093b1200cf364fe1b7ec7c4.tar.bz2 |
[ARM] Fix dropped dollar sign from symbols in branch targets
Summary:
ARMAsmParser was incorrectly dropping a leading dollar sign character
from symbol names in targets of branch instructions. This was caused by
an incorrect assumption that the contents following the dollar sign
token should be handled as a constant immediate, similarly to the #
token.
This patch avoids the operand parsing from consuming the dollar sign
token when it is followed by an identifier, making sure it is properly
parsed as part of the expression.
Reviewers: efriedma
Reviewed By: efriedma
Subscribers: danielkiss, chill, carwil, vhscampos, kristof.beyls, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D73176
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbdwarf.py')
0 files changed, 0 insertions, 0 deletions