https://llvm.org/bugs/show_bug.cgi?id=23871
Bug ID: 23871
Summary: Passing a string literal to a .byte directive crashes
the assembler
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Backend: AArch64
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
The following assembly input causes a syserr when assembling for AArch64:
.byte("Passing a string to the .byte directive causes clang to crash")
Reproduce with clang --target=aarch64-none-eabi t.s
Pertinent output seems to be:
Unknown ELF relocation type
UNREACHABLE executed at
/tmp/plgbuild/abs_build/405292_12928/trunk/work/src/llvm/lib/Target/AArch64/MCTargetDesc/AArch64ELFObjectWriter.cpp:244!
Then a stack dump from clang.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs