This should probably not be committed until it is easy to compile a program that uses a library with protected visibility.
This works for llvm's own programs because they are compiled with -fPIC.
On the particular machine I tested this in check-llvm wall time went from 58.32s to 51.30s. The task-clock reported by perf went from 1114528.526654 ms to 933402.530481ms, or about 3 minutes less.