]> granicus.if.org Git - llvm/commit
[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)
commit660a9ac8d664924bfc42a02b41b894057dd56316
tree058ecbd505e2da952196b913f1693d9a2294f05c
parent3a4b3e05102b44fcc9dab5f0c436e2075009439b
[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

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