[Lldb-commits] [PATCH] D19603: Fix entry point lookup for ObjectFilePECOFF

Stephane Sezer via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Oct 26 10:39:37 PDT 2017


sas added a comment.

In https://reviews.llvm.org/D19603#908130, @clayborg wrote:

> Does this need some ARM support where we strip bit zero in case the entry point is Thumb?


Good question. Somehow we never had any issue with this but I don't remember explicitly checking for difference with thumb entry points either.

That being said, Winphone expects thumb-only for user-space code, so I'd assume `m_coff_header_opt.entry` does **not** include the thumb bit, but the kernel still jumps to user code in thumb mode.


https://reviews.llvm.org/D19603





More information about the lldb-commits mailing list