[Lldb-commits] [lldb] [LLDB][DYLD] Remove logic around not rebasing when main executable has a load address (PR #110885)
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Thu Oct 3 04:08:07 PDT 2024
================
@@ -327,8 +327,6 @@ def test_relative_module_name(self):
old_cwd = os.getcwd()
self.addTearDownHook(lambda: os.chdir(old_cwd))
os.chdir(self.getBuildDir())
- name = "file-with-a-name-unlikely-to-exist-in-the-current-directory.so"
----------------
labath wrote:
Yes, but this change looks like it defeats the purpose of the test. from the looks of things, this test is deliberately checking that the placeholder module is created despite the fact that the CWD contains a (bogus) file with that name -- you could confirm that by looking at the patch which introduced the change.
That said, I'm very surprised that this change makes a difference for this test, since we aren't using the dynamic linker plugin for minidumps (yet). Can you explain that?
https://github.com/llvm/llvm-project/pull/110885
More information about the lldb-commits
mailing list