Page MenuHomePhabricator

Use LLVM_LIBRARY_VISIBILITY to prevent LLVM dynamic libraries from export symbols for SROA internals.
Needs ReviewPublic

Authored by resistor on Feb 17 2016, 1:21 PM.

Details

Reviewers
bogner
Summary

Because the new pass manager exposes the pass types, member functions on those passes become exported symbols by default. We can use LLVM_LIBRARY_VISIBILITY to restrict their linkage to be accessible within the LLVM dynamic library itself, but not exported from it.

Diff Detail

Repository
rL LLVM

Event Timeline

resistor updated this revision to Diff 48233.Feb 17 2016, 1:21 PM
resistor retitled this revision from to Use LLVM_LIBRARY_VISIBILITY to prevent LLVM dynamic libraries from export symbols for SROA internals..
resistor updated this object.
resistor added reviewers: chandlerc, bogner.
resistor set the repository for this revision to rL LLVM.
resistor added a subscriber: llvm-commits.