[IA] Recognize hexadecimal escape sequences
authorBill Wendling <isanbard@gmail.com>
Mon, 7 Oct 2019 09:54:53 +0000 (09:54 +0000)
committerBill Wendling <isanbard@gmail.com>
Mon, 7 Oct 2019 09:54:53 +0000 (09:54 +0000)
commit6942327a8f3ba90b2480f39318901e22269d16e7
tree3b6187e6806699517c844bff82c5c1109eb78a35
parent32b47ddb2deba6896aa00405c4239b808a62da09
[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

Subscribers: hiraditya, llvm-commits

Tags: #llvm

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

llvm-svn: 373888
llvm/lib/MC/MCParser/AsmParser.cpp
llvm/test/MC/AsmParser/directive_ascii.s