[LLVMbugs] [Bug 20424] New: Integrated arm assembler doesn't understand .func / .endfunc

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jul 23 17:20:23 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=20424

            Bug ID: 20424
           Summary: Integrated arm assembler doesn't understand .func /
                    .endfunc
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: ARM
          Assignee: unassignedbugs at nondot.org
          Reporter: nicolasweber at gmx.de
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

This works:

thakis at ubu:~$ cat test.S
        .code 32
        .fpu neon
        .align 4
        .globl memset16_neon
        .func

memset16_neon:
        bx              lr

        .endfunc
        .end
thakis at ubu:~$ arm-linux-gnueabihf-g++ -c test.S

But clang says:

$ ~/src/llvm-build/bin/clang -target arm-linux-androideabi  -c test.S
test.S:5:9: error: unknown directive
        .func
        ^
test.S:10:9: error: unknown directive
        .endfunc
        ^


This is used in skia.

-- 
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/20140724/4eeed1be/attachment.html>


More information about the llvm-bugs mailing list