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

            Bug ID: 24023
           Summary: A @@ version cannot be undefined
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: MC
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

Given this file:

$ cat /tmp/s.c 
int
main ()
{
__asm__(".symver main_, main@@ABIVER_1.0");
  ;
  return 0;
}

gcc/binutils have no problem:

$ gcc -o /tmp/s.o /tmp/s.c

but Clang/LLVM has a problem:

clang -o /tmp/s.o /tmp/s.c
fatal error: error in backend: A @@ version cannot be undefined

-- 
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