Previously we set isFuncEntry flag to true when the funcName from DWARF is equal to the name in symbol table and we use this flag to ignore reporting callsite sample that's from an intra func branch. However, in HHVM, it appears that the symbol table name is inconsistent with the dwarf info func name, it's likely due to OptimizeGlobalAliases.
This change is a workaround in llvm-profgen side to mark the only one range as the function entry and add warnings for the remaining inconsistence.
This also fixed a missing getCanonicalFnName for symbol name which caused the mismatching as well.
Can this filter out non-entry jumps that is from a different function to an outlined part of a function? I.e the Coro resume case