[Lldb-commits] [PATCH] D19603: Fix entry point lookup for ObjectFilePECOFF.
Greg Clayton via lldb-commits
lldb-commits at lists.llvm.org
Wed Apr 27 13:02:48 PDT 2016
clayborg added a comment.
"offset" here must be a file address, or a virtual address as the file's sections know it. So if you take "offset" and look it up in the sections for the COFF file, it should be a correct address. I don't know what "m_coff_header_opt.image_base" is, but as along as entry + image_base is the address that should be looked up in the section list, then this would be correct.
More information about the lldb-commits