Skip to content

Commit 5feaf63

Browse files
authored
Merge pull request #1955 from dcci/andr
apple-llvm-split-commit: a8659fb0d58ee95a427f1b3fe4f6f32d7cb7b98c apple-llvm-split-dir: lldb/
2 parents 6eedc48 + 954c6b5 commit 5feaf63

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DYLDRendezvous.cpp

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -516,30 +516,6 @@ bool DYLDRendezvous::ReadSOEntryFromMemory(lldb::addr_t addr, SOEntry &entry) {
516516

517517
UpdateBaseAddrIfNecessary(entry, file_path);
518518

519-
// The base_addr is not filled in for some case.
520-
// Try to figure it out based on the load address of the object file.
521-
// The issue observed for '/system/bin/linker' on Android L (5.0, 5.1)
522-
if (entry.base_addr == 0) {
523-
lldb::addr_t load_addr = LLDB_INVALID_ADDRESS;
524-
bool is_loaded = false;
525-
Status error =
526-
m_process->GetFileLoadAddress(entry.file_spec, is_loaded, load_addr);
527-
if (error.Success() && is_loaded)
528-
entry.base_addr = load_addr;
529-
}
530-
531-
// The base_addr is not filled in for some case.
532-
// Try to figure it out based on the load address of the object file.
533-
// The issue observed for '/system/bin/linker' on Android L (5.0, 5.1)
534-
if (entry.base_addr == 0) {
535-
lldb::addr_t load_addr = LLDB_INVALID_ADDRESS;
536-
bool is_loaded = false;
537-
Status error =
538-
m_process->GetFileLoadAddress(entry.file_spec, is_loaded, load_addr);
539-
if (error.Success() && is_loaded)
540-
entry.base_addr = load_addr;
541-
}
542-
543519
return true;
544520
}
545521

0 commit comments

Comments
 (0)