commit | 3a963d121a2e690698987c175ca9760007e87935 | [log] [tgz] |
---|---|---|
author | Rong Xu <xur@google.com> | Fri May 06 23:20:58 2016 +0000 |
committer | Rong Xu <xur@google.com> | Fri May 06 23:20:58 2016 +0000 |
tree | 6c09b6a5b2a0ba634635a5bd936c254ce3b598cb | |
parent | e6b649c5dfb19fa465ff5f4bcd10a5fa76bb50e2 [diff] |
[PGO] Use rsplit to parse value-data line in text profile file. The value-data line is <PGOFuncName>:<Count_Value>. PGOFuncName might contain ':' for the internal linkage functions. We therefore need to use rsplit, rather split, to extract the data from the line. This fixes the error when merging a text profile file to an indexed profile file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@268818 91177308-0d34-0410-b5e6-96231b3b80d8