[Lldb-commits] [PATCH] D16186: Unconditionally accept symbol sizes from .dynsym

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Thu Jan 14 10:12:14 PST 2016


clayborg added a comment.

It would be interesting to see if there are any relocations or any other hints to help make correct function bounds from a stripped (.dynsym only) ELF file. In MachO we have a LC_FUNCTION_STARTS load command (kind of like an ELF note) that contains all start addresses of all functions even if we have all private symbols stripped. It might be worth checking if there is anything in ELF that could help us determine function starts for a given binary, then this wouldn't be an issue right? A few things I can think of are the EH frame FDEs can give you all function bounds for all functions that have unwind info. Relocations might be able to help you, but they might just be noise.


http://reviews.llvm.org/D16186





More information about the lldb-commits mailing list