[InstrProf] Mark __llvm_profile_runtime hidden to match libclang_rt.profile definition
authorJustin Cady <desk@justincady.com>
Mon, 11 Jul 2022 18:29:20 +0000 (11:29 -0700)
committerFangrui Song <i@maskray.me>
Mon, 11 Jul 2022 18:29:20 +0000 (11:29 -0700)
commit3d438ceed10d73f951226d398abf867822b68cb1
tree9715d7125ea70a4fc25fea61edc570344a714229
parentb9f8a1ea84a8c77028f66906028e03cba67f6971
[InstrProf] Mark __llvm_profile_runtime hidden to match libclang_rt.profile definition

Mark the symbol hidden to match INSTR_PROF_PROFILE_RUNTIME_VAR in compiler-rt.

Fixes second issue discussed at https://discourse.llvm.org/t/63090

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D128842
llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
llvm/test/Instrumentation/InstrProfiling/profiling.ll