Improve the handling of missing elf symtab and missing symbol sizes
- Generate artificial symbol names from eh_fame during symbol parsing so these symbols are already present when we calculate the size of the symbols where 0 is specified.
- Fix symbol size calculation for the last symbol in the file where it have to last until the end of the parent section
Use the same naming convention as ObjectFileMachO for these unnamed symbols:
Before starting to parse these symbols:
Then when you find en EH frame FDE that doesn't have a symbol, the name is calculated with:
We could move this into ObjectFile.cpp somehow and then have both ObjectFileELF and ObjectFileMachO use the same function to create the function name. If we do this, we should use a lldb_private::StreamString when making the name.