[llvm] r252563 - [PGO] Make indexed value profile data more compact
Vedant Kumar via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 21 01:17:29 PST 2016
Hi David,
> namespace {
> +static support::endianness ValueProfDataEndianness = support::little;
> +// Internal interface for testing purpose only.
> +void InstrProfWriter::setValueProfDataEndianness(
> + support::endianness Endianness) {
> + ValueProfDataEndianness = Endianness;
> +}
Please remove this static variable. It breaks clients who use llvm in a multi-threaded environment.
thanks
vedant
More information about the llvm-commits
mailing list