Implement __attribute__((internal_linkage)).

Description

Implement attribute((internal_linkage)).

The attrubite is applicable to functions and variables and changes
the linkage of the subject to internal.

This is the same functionality as C-style "static", but applicable to
class methods; and the same as anonymouns namespaces, but can apply
to individual methods of a class.

Following the proposal in
http://lists.llvm.org/pipermail/cfe-dev/2015-October/045580.html

Details

Committed
eugenisNov 10 2015, 1:28 PM
Parents
rL252647: Ensure ModuleLinker materializes complete comdat groups
Branches
Unknown
Tags
Unknown