diff options
author | Xinliang David Li <davidxl@google.com> | 2016-04-10 03:32:02 +0000 |
---|---|---|
committer | Xinliang David Li <davidxl@google.com> | 2016-04-10 03:32:02 +0000 |
commit | 284644838fa71fd129ce4e344b56f51220dcb83d (patch) | |
tree | 79e12d2b5ea5b55e61bd6cfd311b027e90c2b927 /llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp | |
parent | cb1225544269694305f433a60ee6387690d9729a (diff) | |
download | llvm-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