llvm-profdata show and overlap will crash in getFuncName on compact binary profile. This change fixed this by switching to use getName.
getFuncName is misused in llvm-profdata. As showed below, GUIDToFuncNameMap is only supported in compilation mode, there is no initialization in llvm-profdata. Compact profile whose MD5 is true would try to query GUIDToFuncNameMap then caused the crash. So fix this by switching to getName
| -> |