Skip to content

Commit 1d9e1c6

Browse files
committed
Revert "[LLDB] Impove ObjectFileELF's .dynamic parsing and usage. (#101237)"
This reverts commit 28ba8a5. Reverting since this broke the buildbot at https://green.lab.llvm.org/job/llvm.org/view/LLDB/job/as-lldb-cmake/9352/.
1 parent 046524e commit 1d9e1c6

File tree

7 files changed

+126
-493
lines changed

7 files changed

+126
-493
lines changed

lldb/include/lldb/Symbol/ObjectFile.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -656,9 +656,8 @@ class ObjectFile : public std::enable_shared_from_this<ObjectFile>,
656656
// When an object file is in memory, subclasses should try and lock the
657657
// process weak pointer. If the process weak pointer produces a valid
658658
// ProcessSP, then subclasses can call this function to read memory.
659-
static lldb::WritableDataBufferSP
660-
ReadMemory(const lldb::ProcessSP &process_sp, lldb::addr_t addr,
661-
size_t byte_size);
659+
static lldb::DataBufferSP ReadMemory(const lldb::ProcessSP &process_sp,
660+
lldb::addr_t addr, size_t byte_size);
662661

663662
// This function returns raw file contents. Do not use it if you want
664663
// transparent decompression of section contents.

0 commit comments

Comments
 (0)