llvm-profgen: Fix use of stats to be under LLVM_ENABLE_STATS
This caused a -Wunused-variable warning in a without-assert+with-stats build (because the stats were included but their use was not). Stat use is meant to be gated by LLVM_ENABLE_STATS which can be set independently of assertions.
parent
8685445b
Please register or sign in to comment