diff options
author | Chad Rosier <mcrosier@apple.com> | 2013-02-12 18:29:02 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2013-02-12 18:29:02 +0000 |
commit | f72d06a9197124a37bcf5d27b80b7f9f64f0a549 (patch) | |
tree | c71af34307ccc5832ec59aaaaab78cf228249cba /lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp | |
parent | 1c3e3c143306669905fb7ca7afaf5231d7285711 (diff) | |
download | bcm5719-llvm-f72d06a9197124a37bcf5d27b80b7f9f64f0a549.tar.gz bcm5719-llvm-f72d06a9197124a37bcf5d27b80b7f9f64f0a549.zip |
[ms-inline asm] Add support for lexing binary integers with a [bB] suffix.
This is complicated by backward labels (e.g., 0b can be both a backward label
and a binary zero). The current implementation assumes [0-9]b is always a
label and thus it's possible for 0b and 1b to not be interpreted correctly for
ms-style inline assembly. However, this is relatively simple to fix in the
inline assembly (i.e., drop the [bB]).
This patch also limits backward labels to [0-9]b, so that only 0b and 1b are
ambiguous.
Part of rdar://12470373
llvm-svn: 174983
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp')
0 files changed, 0 insertions, 0 deletions