aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/ModuleMap.cpp
diff options
context:
space:
mode:
authorRong Xu <xur@google.com>2016-05-06 23:20:58 +0000
committerRong Xu <xur@google.com>2016-05-06 23:20:58 +0000
commit35723644c25054b152072d541e2c8861e71a5cd1 (patch)
treea0d777a7719c95690ed8c513da0751165b3cfd5f /clang/lib/Lex/ModuleMap.cpp
parent10379099245114a34f305f697e089422b47598fe (diff)
downloadllvm-35723644c25054b152072d541e2c8861e71a5cd1.zip
llvm-35723644c25054b152072d541e2c8861e71a5cd1.tar.gz
llvm-35723644c25054b152072d541e2c8861e71a5cd1.tar.bz2
[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. llvm-svn: 268818
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions