HomePhabricator

[clang-ifs] Clang Interface Stubs, first version.

Description

[clang-ifs] Clang Interface Stubs, first version.

Clang interface stubs (previously referred to as clang-ifsos) is a new frontend
action in clang that allows the generation of stub files that contain mangled
name info that can be used to produce a stub library. These stub libraries can
be useful for breaking up build dependencies and controlling access to a
library's internal symbols. Generation of these stubs can be invoked by:

clang -fvisibility=<visibility> -emit-interface-stubs \

-interface-stub-version=<interface format>

Notice that -fvisibility (along with use of visibility attributes) can be used
to control what symbols get generated. Currently the interface format is
experimental but there are a wide range of possibilities here.

Differential Revision: https://reviews.llvm.org/D60974

Details

Committed
zer0Jun 17 2019, 3:46 PM
Differential Revision
D60974: Clang IFSO driver action.
Parents
rL363625: [AMDGPU] Use custom inserter for gfx10 VOP2b
Branches
Unknown
Tags
Unknown