[llvm-bugs] [Bug 38229] New: preserve_all calling convention is broken on AArch64

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jul 19 10:51:59 PDT 2018


https://bugs.llvm.org/show_bug.cgi?id=38229

            Bug ID: 38229
           Summary: preserve_all calling convention is broken on AArch64
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: manojgupta at google.com
                CC: efriedma at codeaurora.org, jyknight at google.com,
                    llvm-bugs at lists.llvm.org, manojgupta at google.com,
                    ndesaulniers at google.com

$ cat test.c 
void __attribute__((preserve_all)) foo(void *ptr) { }

$ clang -c test.c -> compiles for x86_64
$ clang -c -target aarch64-unknown-linux-gnu

fatal error: error in backend: Unsupported calling convention.

-- 
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/20180719/955b77b3/attachment.html>


More information about the llvm-bugs mailing list