]> granicus.if.org Git - llvm/commit
[IA] Recognize hexadecimal escape sequences
authorBill Wendling <isanbard@gmail.com>
Tue, 8 Oct 2019 04:39:52 +0000 (04:39 +0000)
committerBill Wendling <isanbard@gmail.com>
Tue, 8 Oct 2019 04:39:52 +0000 (04:39 +0000)
commit6cc38f2df36ff977b723620bac20a6435e132e32
treea0c39d149602b753c05f04729121675dfa0a25a2
parentee8d82e802cabf2035878cefb18da59b2254cef6
[IA] Recognize hexadecimal escape sequences

Summary:
Implement support for hexadecimal escape sequences to match how GNU 'as'
handles them. I.e., read all hexadecimal characters and truncate to the
lower 16 bits.

Reviewers: nickdesaulniers, jcai19

Subscribers: llvm-commits, hiraditya

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D68598

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@374018 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCParser/AsmParser.cpp
test/MC/AsmParser/directive_ascii.s