profile: Rudimentary suppport for PGO instrumentation
authorJustin Bogner <mail@justinbogner.com>
Mon, 6 Jan 2014 22:27:03 +0000 (22:27 +0000)
committerJustin Bogner <mail@justinbogner.com>
Mon, 6 Jan 2014 22:27:03 +0000 (22:27 +0000)
commit65bb804f053208958e882bfaa2c8dcf53e6a18e0
treeb7dd637e735e4bb39ac53f048d30087fe1c7f125
parentf16c8c5162bae2f8f58a53871a1ee87708fa1e31
profile: Rudimentary suppport for PGO instrumentation

This is fairly minimal support for instrumentation based PGO. The data
format is inefficient, and the output file name is hardcoded to
pgo-data.

llvm-svn: 198638
compiler-rt/lib/profile/CMakeLists.txt
compiler-rt/lib/profile/PGOProfiling.c [new file with mode: 0644]
compiler-rt/make/platform/clang_darwin.mk