=?utf-8?q?José?= L. Junior <jljunio...@gmail.com>
Message-ID:
In-Reply-To: <llvm/llvm-project/pull/67019/l...@github.com>


https://github.com/jimingham commented:

The reason that gdb has a "start" command is that not all languages and their 
runtimes use the same name for the the entry point function.  So `start` does 
"figure out what the start function in the main executable is and set a 
breakpoint there".  Or maybe it just knows the start points of all the 
languages and breaks symbolically on each one, I can't remember how gdb does 
this...
In our case, the languages we currently support all use "main" for the entry 
point function, but since we're going to the trouble of making an canned bit of 
functionality for this, it might be nice to add that abstraction.  

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

Reply via email to