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
Differential D128842
[InstrProf] Mark __llvm_profile_runtime hidden to match libclang_rt.profile definition justincady on Jun 29 2022, 11:25 AM. Authored by
Details 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
Diff Detail
Event TimelineComment Actions
Just drop the special case. This change looks good to me because of COMPILER_RT_VISIBILITY extern int INSTR_PROF_PROFILE_RUNTIME_VAR;
Comment Actions @MaskRay Does this change require any further review? If it is good to go, would you please land it for me? I don't have commit access. Thanks! |
Remove Windows special case. The visibility is a no-op on Windows.