[InstrProfiling] Don't generate __llvm_profile_runtime_user
authorPetr Hosek <phosek@google.com>
Wed, 10 Mar 2021 09:09:29 +0000 (01:09 -0800)
committerPetr Hosek <phosek@google.com>
Thu, 11 Mar 2021 06:33:51 +0000 (22:33 -0800)
commitc7712087cbb505d324e1149fa224f607c91a8c6a
tree48836a14a2961b6b17287fb970d3d0938e924898
parent5af991d46497c9473d2a0fd0989aa4ff4e6a0643
[InstrProfiling] Don't generate __llvm_profile_runtime_user

This is no longer needed, we can add __llvm_profile_runtime directly
to llvm.compiler.used or llvm.used to achieve the same effect.

Differential Revision: https://reviews.llvm.org/D98325
llvm/include/llvm/ProfileData/InstrProf.h
llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
llvm/test/Instrumentation/InstrProfiling/linkage.ll
llvm/test/Instrumentation/InstrProfiling/profiling.ll