[Lldb-commits] [PATCH] D17970: Implement ObjectFilePECOFF::GetEntryPointAddress.

Jim Ingham via lldb-commits lldb-commits at lists.llvm.org
Tue Mar 8 16:07:36 PST 2016


We use the entry point address as the place to stop when we call functions by hand in the target.  That's one place which is legit TEXT, but we are pretty sure the code you are calling will never call.  So if the entry point address isn't set correctly we probably won't be able to call any functions by hand.

Jim

> On Mar 8, 2016, at 3:11 PM, Zachary Turner via lldb-commits <lldb-commits at lists.llvm.org> wrote:
> 
> zturner added a comment.
> 
> Looks pretty non-controversial.  Does this fix anything?  Seems like there should be a test that breaks somehow if this doesn't work.  I don't know off the top of my head what the debugger command is "get the address of the entry point", but presumably it was broken before this patch?
> 
> 
> http://reviews.llvm.org/D17970
> 
> 
> 
> _______________________________________________
> lldb-commits mailing list
> lldb-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits



More information about the lldb-commits mailing list