search for: linkonceany

Displaying 5 results from an estimated 5 matches for "linkonceany".

2016 Nov 29
2
RFC: Add an "interposible" linkage type (and implement -fsemantic-interposition)
...k to decode as weak+interposable and the old weak_odr to > > decode as weak. > > > Some more prior discussion: https://reviews.llvm.org/D19995#423481 > > +1 So we're all on the same page, our current encodings are: External: 0 WeakAny: 16 Appending: 2 Internal: 3 LinkOnceAny: 18 ExternalWeak: 7 Common: 8 Private: 9 WeakODR: 17 LinkOnceODR: 19 AvailableExternally: 12 And the new encodings would be: External: 0 External + Interposible: 20 Weak + Interposible: 16 Appending: 2 [interposible N/A] Internal: 3 [never interposible] LinkOnce + Interposible: 18 E...
2015 Jul 21
2
[LLVMdev] RFC: ThinLTO Symbol Linkage and Renaming
...> +----------------+-----------------------------------------------------------------+ > > | AvailableExternally (def) | AvailableExternally | External > | > > > +----------------------------------------------------------------------------------+ > > | LinkOnceAny (def) | LinkOnceAny | N/A (force > import def) | > > > +----------------------------------------------------------------------------------+ > > | LinkOnceODR (def) | LinkOnceODR | N/A (force > import def) | > > > +-------...
2015 Jul 14
3
[LLVMdev] RFC: ThinLTO Symbol Linkage and Renaming
...rs lists. We never import these as they would get executed multiple times, which is incorrect. 2.2.4 CommonLinkage Since common symbols are always zero-initialized variables, they do not take up room. It is simplest to import these defs as common. 3 Linkonce Values The LinkOnceODRLinkage and LinkOnceAnyLinkage types refer to linkonce linkage, which allows merging of different globals with the same name. Unreferenced linkonce globals may also be discarded. Linkonce values include some COMDAT functions (COMDAT may also have Weak linkage) and vtable variables. For linkonce values, duplicates are allo...
2015 Jul 21
1
[LLVMdev] RFC: ThinLTO Symbol Linkage and Renaming
...is incorrect. > > > > 2.2.4 CommonLinkage > > > > Since common symbols are always zero-initialized variables, they do not > take up room. It is simplest to import these defs as common. > > > > 3 Linkonce Values > > > > The LinkOnceODRLinkage and LinkOnceAnyLinkage types refer to linkonce > linkage, which allows merging of different globals with the same name. > Unreferenced linkonce globals may also be discarded. Linkonce values > include some COMDAT functions (COMDAT may also have Weak linkage) and > vtable variables. For linkonce values,...
2016 Nov 29
4
RFC: Add an "interposible" linkage type (and implement -fsemantic-interposition)
I think that all makes sense. You're just adding the missing non-ODR conterpart of 'external' linkage. I could imagine having "external / external_odr" linkage for example. That said, do you think we should take the opportunity to split out a bit for interposability so that we can kill off the *_odr linkage variants? Today's non-ODR weak functions would look more like