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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

This works:

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

memset16_neon:
        bx              lr

        .endfunc
        .end
thakis@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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to