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
Loading
Please sign in to comment