Revert "[InstrProfiling] Use nobits as __llvm_prf_cnts section type in ELF"
authorPetr Hosek <phosek@google.com>
Wed, 24 Feb 2021 08:37:54 +0000 (00:37 -0800)
committerPetr Hosek <phosek@google.com>
Wed, 24 Feb 2021 08:41:43 +0000 (00:41 -0800)
commit11a53f47fb3448c747e18519f3799c919ec65aa1
tree2cc50a63f93887eaa7e94148ef3ef1de64896976
parent77bd454da34e9cfba6cb007bdf25fc422b947641
Revert "[InstrProfiling] Use nobits as __llvm_prf_cnts section type in ELF"

This reverts commit 6b286d93f7ec8518c685a302269e44b06a0a24f3 because
in some cases when the optimizer evaluates the global initializer,
__llvm_prf_cnts may not be entirely zero initialized.
llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
llvm/test/Instrumentation/InstrProfiling/X86/nobits.ll [deleted file]