[PGO] Small interface change to be profile rt ready
authorXinliang David Li <davidxl@google.com>
Tue, 24 Nov 2015 18:15:46 +0000 (18:15 +0000)
committerXinliang David Li <davidxl@google.com>
Tue, 24 Nov 2015 18:15:46 +0000 (18:15 +0000)
commit1386907d275000515db0e0572f37c0dbd42ed0f7
tree2d518b4c066b2e44f5c0901ea59c6f67cd201239
parent4da18f10ae054091f7e6f355d63919ebcabe8a46
[PGO] Small interface change to be profile rt ready

Convert two C++ static member functions to be C APIs. This
is one of the many steps to get ready to share VP writer code
with profiler runtime.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253999 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ProfileData/InstrProf.h
lib/ProfileData/InstrProf.cpp