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: unassignedclangb...@nondot.org
          Reporter: manojgu...@google.com
                CC: efrie...@codeaurora.org, jykni...@google.com,
                    llvm-bugs@lists.llvm.org, manojgu...@google.com,
                    ndesaulni...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to