This patch is the full version of the 5 individual patches that port
the Perf converter from https://github.com/google/autofdo.
The earlier patches are described in detail at:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20140728/228671.html
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20140728/228675.html
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20140728/228673.html
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20140728/228674.html
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20140728/228672.html
I tried creating 5 individual phabricator issues for this, but they are
very hard to maintain as they are all in the same tree. Phabricator does
not make this easy in any way.
Main changes:
- Remove unused parts of LinuxPerf/utils.cc to avoid -lcrypto dependency.
- Add -Wno-pedantic for LinuxPerf
- Removed all the unused code.
- Removed all traces of base/, glog/ and gflags/
- Add samplepgo namespace. Rename ProfileCreator to SampleProfileConverter.
- Add LLVM copyright headers.
- Add support for autoconf.