http://llvm.org/bugs/show_bug.cgi?id=3629
Summary: __attribute__((weak)) not supported
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: LLVM Codegen
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
lev /tmp$ cat weak.c
int foo __attribute__((weak));
int bar;
lev /tmp$ gcc -c weak.c && nm weak.o
0000000000000004 C bar
0000000000000000 V foo
lev /tmp$ ccc -c weak.c && nm weak.o
ccc: Unknown host 'freebsd', using generic host information.
0000000000000004 C bar
0000000000000004 C foo
the attribute is not support, we need this in FreeBSD quite a lot
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- 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