On Nov 6, 2012, at 5:27 AM, Carlo Kok <[email protected]> wrote:

> When using a universal mach-o executable it fails in lld on loading the 
> ObjectFile (and resets the module to null, thus failing to load with a nice 
> memory access error). I did see that there's an ObjectContainer for universal 
> mach-o executables but that's not triggered during ModuleList.GetSharedModule 
> (Which is used by ResolveExecutable). What can I do to get this working? I 
> load the file first then connect to a remote server for debugging purposes.

It does work on the Mac. Make sure your platform is set and also do specify an 
architecture so the ObjectContainer can extract the right arch. Make sure the 
universal object container is loaded and in the plug-in list. To verify, step 
through the code in ObjectFile::FindPlugin().

_______________________________________________
lldb-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Reply via email to