aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp
diff options
context:
space:
mode:
authorXinliang David Li <davidxl@google.com>2016-04-10 03:32:02 +0000
committerXinliang David Li <davidxl@google.com>2016-04-10 03:32:02 +0000
commit284644838fa71fd129ce4e344b56f51220dcb83d (patch)
tree79e12d2b5ea5b55e61bd6cfd311b027e90c2b927 /llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp
parentcb1225544269694305f433a60ee6387690d9729a (diff)
downloadllvm-284644838fa71fd129ce4e344b56f51220dcb83d.zip
llvm-284644838fa71fd129ce4e344b56f51220dcb83d.tar.gz
llvm-284644838fa71fd129ce4e344b56f51220dcb83d.tar.bz2
[PGO] Fix deserialize bug
Raw function pointer collected by value profile data may be from external functions that are not instrumented. They won't have mapping data to be used by the deserializer. Force the value to be 0 in this case. llvm-svn: 265890
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp')
0 files changed, 0 insertions, 0 deletions