improve demangling for function local symbols
Merge pull request #611 from rainers/demangle_local

fix issues 10277 & 6045:improve demangling for function local symbols