InstrProf: Make the __llvm_profile_runtime_user symbol hidden
authorJustin Bogner <mail@justinbogner.com>
Wed, 25 Feb 2015 22:52:20 +0000 (22:52 +0000)
committerJustin Bogner <mail@justinbogner.com>
Wed, 25 Feb 2015 22:52:20 +0000 (22:52 +0000)
commit2e427d4dbd4ca8cae143b4096d0f64eb503a555c
treed6dd8d906a81de91bb9eb201d4335ff3e1e65a12
parent738889f75269ef884c6077a792cfc2ad2eb75028
InstrProf: Make the __llvm_profile_runtime_user symbol hidden

This symbol exists only to pull in the required pieces of the runtime,
so nothing ever needs to refer to it. Making it hidden avoids the
potential for issues with duplicate symbols when linking profiled
libraries together.

llvm-svn: 230566
llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
llvm/test/Instrumentation/InstrProfiling/linkage.ll