I don't know how to exercise or test the plugin code, so I wonder if someone wouldn't mind testing this for me. There's an LLVM patch which you can apply at the root of your LLVM tree which will modify LLVM's DynamicLibrary to use RTLD_FIRST, as discussed earlier on the list. Then an LLDB-side patch which deletes lldb's DynamicLibrary and uses LLVM's instead.
If someone could apply both patches, and then verify that everything still works, I would appreciate. If it passes, I will work on upstreaming the LLVM patch. 0001-Limit-the-symbol-search...patch is the LLVM side patch, and the other is the LLDB side patch.
0001-Limit-the-symbol-search-in-DynamicLibrary-to-the-mod.patch
Description: Binary data
0001-Update-LLDB-to-use-LLVM-s-DynamicLibrary.patch
Description: Binary data
_______________________________________________ lldb-dev mailing list lldb-dev@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev