[PGO] Add version to getPGOFuncName method
authorXinliang David Li <davidxl@google.com>
Sat, 5 Dec 2015 05:16:36 +0000 (05:16 +0000)
committerXinliang David Li <davidxl@google.com>
Sat, 5 Dec 2015 05:16:36 +0000 (05:16 +0000)
commita8bc4db3b2a16181b6373980abd142b7c1cb6e91
treeb63bbd04ae8be63e938711eafe702f8c3fc2ef24
parentc7d0ead45b3f81bdca4b3abea9675fcf790a871c
[PGO] Add version to getPGOFuncName method

Different version of indexed format may use different
name uniquing schemes for static functions. Pass the
version info to the name interface so that different
schmes can be picked (for profile lookup).

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