[cfe-dev] Weak linkage for inline

Argiris Kirtzidis akyrtzi at gmail.com
Fri Jun 27 15:06:01 PDT 2008


Chris Lattner wrote:
>
> Yep sounds like a bug in the windows/x86 backend.  Maybe Anton has an 
> idea?  Anton, it is emitting the line above with 'weak' linkage symbols.

I verified that it's the same with 'linkonce'.
This testcase:

define linkonce void @f() {
entry:
    ret void
}

produces this section line:

    .section    .llvm.linkonce.t._f,"ax", at progbits


-Argiris



More information about the cfe-dev mailing list