ProfileData: Introduce InstrProfWriter using the naive text format

Description

ProfileData: Introduce InstrProfWriter using the naive text format

This isn't a format we'll want to write out in practice, but moving it
to the writer library simplifies llvm-profdata and isolates it from
further changes to the format.

This also allows us to update the tests to not rely on the text output
format.

Details

Committed
bognerMar 21 2014, 10:46 AM
Parents
rL204488: Convert test to using cfi.
Branches
Unknown
Tags
Unknown