Go to file
Greg Clayton 8f343b09e9 Added support for loading and unloading shared libraries. This was done by
adding support into lldb_private::Process:

    virtual uint32_t
    lldb_private::Process::LoadImage (const FileSpec &image_spec, 
                                      Error &error);

    virtual Error
    lldb_private::Process::UnloadImage (uint32_t image_token);

There is a default implementation that should work for both linux and MacOSX.
This ability has also been exported through the SBProcess API:

    uint32_t
    lldb::SBProcess::LoadImage (lldb::SBFileSpec &image_spec, 
                                lldb::SBError &error);

    lldb::SBError
    lldb::SBProcess::UnloadImage (uint32_t image_token);

Modified the DynamicLoader plug-in interface to require it to be able to 
tell us if it is currently possible to load/unload a shared library:

    virtual lldb_private::Error
    DynamicLoader::CanLoadImage () = 0;

This way the dynamic loader plug-ins are allows to veto whether we can 
currently load a shared library since the dynamic loader might know if it is
currenlty loading/unloading shared libraries. It might also know about the
current host system and know where to check to make sure runtime or malloc
locks are currently being held.

Modified the expression parser to have ClangUserExpression::Evaluate() be
the one that causes the dynamic checkers to be loaded instead of other code
that shouldn't have to worry about it.

llvm-svn: 118227
2010-11-04 01:54:29 +00:00
clang c-index-test: Switch to using clang_executeOnThread instead of mucking about 2010-11-04 01:26:31 +00:00
compiler-rt make: Add CheckCommandLineOverrides to my little Makefile library, a routine for 2010-10-14 21:23:37 +00:00
debuginfo-tests testcase commit for upcoming fix. 2010-09-21 20:51:54 +00:00
libcxx update to use new linker option to re-export from libc++abi.dylb 2010-10-29 19:46:14 +00:00
lldb Added support for loading and unloading shared libraries. This was done by 2010-11-04 01:54:29 +00:00
llvm replace SrcOpNum with SrcOpName, eliminating a numering dependency 2010-11-04 01:42:59 +00:00