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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
llvm/test/MC/AsmParser/directive_ascii.s | ||
---|---|---|
46 ↗ | (On Diff #223283) | 0x64 is smaller than 0xff. Maybe we can have a test case for values bigger than that? |
Comment Actions
I reverted this in r373898 since MC/AsmParser/directive_ascii.s failed on bots. I didn't look into it, but maybe it's because there's no bounds checking on the i + 1 index.
Comment Actions
Doh! Asserts weren't turned on in my build tree. Fixed in D68598. Very sorry for the breakage.