Passing a string literal to .byte directive crashes LLVM when assembling for AArch64 target.
Output:
Unknown ELF relocation type
UNREACHABLE executed at /home/bgabor/work/clang-driver/byte-directive/llvm/lib/Target/AArch64/MCTargetDesc/AArch64ELFObjectWriter.cpp:244!
This patch replaces the crash with an error message like the test-case in test/MC/ARM/Windows/invalid-relocation.s
Wouldn't a nice error message be to output the string rather than an internal enum type?