[LLVMbugs] [Bug 23871] New: Passing a string literal to a .byte directive crashes the assembler

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jun 17 08:20:17 PDT 2015


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: unassignedbugs at nondot.org
          Reporter: richard.barton at arm.com
                CC: llvmbugs at cs.uiuc.edu
    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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150617/c0dbbc76/attachment.html>


More information about the llvm-bugs mailing list