The LinkOnce aspect can be applied to global methods to inform the linker that it is ok to proceed with linking, even if multiple libraries contain the same methods. This allows two or more static libraries to link in the same code, and still have both libraries then linked into the same executable.

Cocoa and Island Only

The LinkOnce aspect is available on the Cocoa and Island platforms only.

Defined by the core compiler