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)
commit4a3b80e1f95022c684cc18ee27f8905a8dd6e07d
tree0c23721abc2fde89c71ddad354ad4bebdb266303
parent344ea291484f6888cd31ba82bd7b8393ee006463
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230566 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Instrumentation/InstrProfiling.cpp
test/Instrumentation/InstrProfiling/linkage.ll