PPavel Labath[lldb] Fixup TestLoadAfterAttach for 82ba3f4
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Fix rendezvous for rebase_exec=true case When rebase_exec=true in DidAttach(), all modules are loaded before the rendezvous breakpoint is set, which means the LoadInterpreterModule() method is not called and m_interpreter_module is not initialized. This causes the very first rendezvous breakpoint hit with m_initial_modules_added=false to accidentally unload the module_sp that corresponds to the dynamic loader. This bug (introduced in D92187) was causing the rendezvous mechanism to not work in Android 28. The mechanism works fine on older/newer versions of Android. Test: Verified rendezvous on Android 28 and 29 Test: Added dlopen test Reviewed By: labath Differential Revision: https://reviews.llvm.org/D109797 | 4 年前 | |
[lldb] Fixup TestLoadAfterAttach for 82ba3f4 After 82ba3f4, we (again) need to call lldb_enable_attach to be able to attach to processes on linux. This was a new test, so it does not have the necessary boilerplate. | 3 年前 | |
Fix rendezvous for rebase_exec=true case When rebase_exec=true in DidAttach(), all modules are loaded before the rendezvous breakpoint is set, which means the LoadInterpreterModule() method is not called and m_interpreter_module is not initialized. This causes the very first rendezvous breakpoint hit with m_initial_modules_added=false to accidentally unload the module_sp that corresponds to the dynamic loader. This bug (introduced in D92187) was causing the rendezvous mechanism to not work in Android 28. The mechanism works fine on older/newer versions of Android. Test: Verified rendezvous on Android 28 and 29 Test: Added dlopen test Reviewed By: labath Differential Revision: https://reviews.llvm.org/D109797 | 4 年前 | |
[lldb] Fixup TestLoadAfterAttach for 82ba3f4 After 82ba3f4, we (again) need to call lldb_enable_attach to be able to attach to processes on linux. This was a new test, so it does not have the necessary boilerplate. | 3 年前 |