The inferior can load the library now, but the remote test is still failing
because of a module loading problem in LLDB.
Details
Details
- Reviewers
sivachandra ovyalov clayborg - Commits
- rG6efb8bd947ed: [TestGlobalVariables] LD_LIBRARY_PATH should be process working directory.
rLLDB231120: [TestGlobalVariables] LD_LIBRARY_PATH should be process working directory.
rL231120: [TestGlobalVariables] LD_LIBRARY_PATH should be process working directory.
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Please try and make self.registerSharedLibrariesWithTarget(...) do all that is needed.
lldb/trunk/test/lang/c/global_variables/TestGlobalVariables.py | ||
---|---|---|
34–44 | You shouldn't have to do any of this if you call: environment = self.registerSharedLibrariesWithTarget(target, self.shlib_names) as the code in registerSharedLibrariesWithTarget there should do this. Can you look into why this is failing? We don't want platform specific code like this in any tests, it should all be in utility functions in the python files in the lldb/test directory. |
lldb/trunk/test/lang/c/global_variables/TestGlobalVariables.py | ||
---|---|---|
34–44 | You're right. I'll remove that entire chunk of code. I think Oleksiy has a CL in progress that can fix remote module loading problem. |
You shouldn't have to do any of this if you call:
as the code in registerSharedLibrariesWithTarget there should do this. Can you look into why this is failing? We don't want platform specific code like this in any tests, it should all be in utility functions in the python files in the lldb/test directory.