diff options
| author | Bill Wendling <isanbard@gmail.com> | 2019-10-08 04:39:52 +0000 |
|---|---|---|
| committer | Bill Wendling <isanbard@gmail.com> | 2019-10-08 04:39:52 +0000 |
| commit | 411f1885b655ea622fe124a87a6eadfd988d7a5e (patch) | |
| tree | b3206af8be33871869e33e8139efcc0476bdd6ad /llvm/test/MC/AsmParser | |
| parent | 9f41deccc0e648a006c9f38e11919f181b6c7e0a (diff) | |
| download | bcm5719-llvm-411f1885b655ea622fe124a87a6eadfd988d7a5e.tar.gz bcm5719-llvm-411f1885b655ea622fe124a87a6eadfd988d7a5e.zip | |
[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
llvm-svn: 374018
Diffstat (limited to 'llvm/test/MC/AsmParser')
| -rw-r--r-- | llvm/test/MC/AsmParser/directive_ascii.s | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/test/MC/AsmParser/directive_ascii.s b/llvm/test/MC/AsmParser/directive_ascii.s index a7ba7bbd5da..604f9721bcc 100644 --- a/llvm/test/MC/AsmParser/directive_ascii.s +++ b/llvm/test/MC/AsmParser/directive_ascii.s @@ -39,3 +39,8 @@ TEST5: # CHECK: .byte 0 TEST6: .string "B", "C" + +# CHECK: TEST7: +# CHECK: .ascii "dk" +TEST7: + .ascii "\x64\Xa6B" |

