HomePhabricator

[Profile] Handle invalid profile data

Authored by aeubanks on Thu, Jun 10, 10:33 AM.

Description

[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

Details

Committed
aeubanksThu, Jun 10, 4:10 PM
Reviewer
rnk
Differential Revision
D104050: [Profile] Handle invalid profile data
Parents
rGcbd0054b9eb1: [clang] Implement P2266 Simpler implicit move
Branches
Unknown
Tags
Unknown