> On Jun 5, 2014, at 10:44 AM, Keno Fischer <[email protected]> 
> wrote:
> 
> I missed your question about macho file types. These are all MH_OBJECTs. 

Then you might be able to key off of that instead of always trying to read from 
the load commands.

It would then be:

if (process && m_header.filetype != llvm::MachO::MH_OBJECT)
{
    // Read symbol table from memory
}
else
{
    // read symbol table using load commands
}
_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits

Reply via email to