Skip to content
Commit 836991d3 authored by Wei Mi's avatar Wei Mi
Browse files

Fix a crash when the sample profile uses md5 and -sample-profile-merge-inlinee

is enabled.

When -sample-profile-merge-inlinee is enabled, new FunctionSamples may be
created during profile merge without GUIDToFuncNameMap being initialized.
That will occasionally cause compiler crash. The patch fixes it.

Differential Revision: https://reviews.llvm.org/D84994
parent abf546dd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment