labath wrote:

I'd like to note that, at least in the ELF world, there's no guarantee that 
there will be an actual *symbol* at the address where the process starts 
executing. The convention is to call this `_start` but nothing in the system 
actually relies on that. The ELF header contains the address of the first 
instruction, the OS jumps to that, and that's it.

So, I think that a more generic interface would be to return an `Address` 
(which the caller can try to resolve to a symbol if it wants to).

https://github.com/llvm/llvm-project/pull/99673
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to