[LLVMbugs] [Bug 3629] New: __attribute__((weak)) not supported

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Feb 20 01:44:39 PST 2009


           Summary: __attribute__((weak)) not supported
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: LLVM Codegen
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: rdivacky at freebsd.org
                CC: llvmbugs at cs.uiuc.edu

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.

More information about the llvm-bugs mailing list