Revert "[InstrProfiling] If no value profiling, make data variable private and (for...
authorNico Weber <thakis@chromium.org>
Fri, 4 Jun 2021 13:51:24 +0000 (09:51 -0400)
committerNico Weber <thakis@chromium.org>
Fri, 4 Jun 2021 14:00:12 +0000 (10:00 -0400)
commite9a9c850989e2392b7f16dea2449312c15bd0240
tree08a16c9a1a7bbaadb7c04884ae7240f8a95572cc
parenta9c9183ca42629fa83cdda297d1d30c7bc1d7c91
Revert "[InstrProfiling] If no value profiling, make data variable private and (for Windows) use one comdat"

This reverts commit a14fc749aab2c8e1a45d19d512255ebfc69357c3.
Breaks check-profile on macOS. See https://reviews.llvm.org/D103372 for details.
llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
llvm/test/Instrumentation/InstrProfiling/comdat.ll
llvm/test/Instrumentation/InstrProfiling/icall.ll
llvm/test/Instrumentation/InstrProfiling/linkage.ll
llvm/test/Instrumentation/InstrProfiling/platform.ll
llvm/test/Instrumentation/InstrProfiling/profiling.ll
llvm/test/Transforms/PGOProfile/comdat_internal.ll