aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Module.cpp
diff options
context:
space:
mode:
authorArthur Eubanks <aeubanks@google.com>2021-06-10 10:33:47 -0700
committerArthur Eubanks <aeubanks@google.com>2021-06-10 16:10:13 -0700
commit189428c8fc2465c25efbf4f0bb73e26fecf150ce (patch)
tree65a9bc7c2503c75ee01a73d7462eb7a84277b37e /llvm/lib/IR/Module.cpp
parentcbd0054b9eb17ec48f0702e3828209646c8f5ebd (diff)
downloadllvm-189428c8fc2465c25efbf4f0bb73e26fecf150ce.zip
llvm-189428c8fc2465c25efbf4f0bb73e26fecf150ce.tar.gz
llvm-189428c8fc2465c25efbf4f0bb73e26fecf150ce.tar.bz2
[Profile] Handle invalid profile data
This mostly follows LLVM's InstrProfReader.cpp error handling. Previously, attempting to merge corrupted profile data would result in crashes. See https://crbug.com/1216811#c4. Reviewed By: rnk Differential Revision: https://reviews.llvm.org/D104050
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions