[Lldb-commits] [PATCH] fix for Linux build

dawn at burble.org dawn at burble.org
Tue Oct 11 10:44:46 PDT 2011


On Mon, Oct 10, 2011 at 06:28:14PM -0700, Greg Clayton wrote:
> Dawn, we shouldn't have to disable the PECOFF object file parser for linux. All of the symbol parsers need to work on all of the systems. 
[...]
> In LLDB, all plug-ins should be able to run on all systems, except for the native debugging plug-ins like ProcessLinux. The DynamicLoaderLinuxDYLD plug-in should be left enabled as well if possible on other systems as long as no system header files are being used, and if they are, these header dependencies should be fixed.

Ah, OK.  Thanks, I'll keep that in mind. 

-Dawn

PS: 
> >> Note: while it fixes the build on Linux, lldb is still crashing in
> >> pthread_mutex_lock() as it did before.

This is due to an initialization order issue.  While ProcessMonitor is
being constructed, a nested call to GetRegOffset(reg) wants to use its
already constructed instance.   I hope to have a patch soon, once I get
a grasp of the interdependencies...



More information about the lldb-commits mailing list