[llvm] r204496 - InstrProf: Read raw binary profile in llvm-profdata

Justin Bogner mail at justinbogner.com
Fri Mar 21 13:22:19 PDT 2014


"Duncan P. N. Exon Smith" <dexonsmith at apple.com> writes:
> InstrProf: Read raw binary profile in llvm-profdata

> +
> +static uint64_t getRawVersion() {
> +  return 1;
> +}
> +namespace {
> +}

Looks like this empty namespace was left in by mistake.

> +RawInstrProfReader::RawInstrProfReader(std::unique_ptr<MemoryBuffer> &DataBuffer)
> +    : DataBuffer(DataBuffer.release()) { }
> +

This is over 80-column. Might as well define this in the header anyway.



More information about the llvm-commits mailing list