InstrProf: Test for appropriate linkage of the profiling structures
authorJustin Bogner <mail@justinbogner.com>
Tue, 24 Feb 2015 21:42:42 +0000 (21:42 +0000)
committerJustin Bogner <mail@justinbogner.com>
Tue, 24 Feb 2015 21:42:42 +0000 (21:42 +0000)
commit2ce48056a4fada8a810bcefe09888e0e883ca878
tree370bafa9001dfe899267751ea1ad33ffc61965c5
parent0980447a5f8e4b48158c0b68a09fa8a1c876861d
InstrProf: Test for appropriate linkage of the profiling structures

This test checks that the symbols instrprof creates have appropriate
linkage. The tests already exist in clang in a slightly different form
from before we sunk profile generation into an LLVM pass, but that's
an awkward place for them now. I'll remove/simplify the clang versions
shortly.

llvm-svn: 230383
llvm/test/Instrumentation/InstrProfiling/linkage.ll [new file with mode: 0644]