Skip to content

Commit

Permalink
Revert "[LLDB] Impove ObjectFileELF's .dynamic parsing and usage. (ll…
Browse files Browse the repository at this point in the history
…vm#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/.
  • Loading branch information
PiJoules committed Aug 8, 2024
1 parent 046524e commit 1d9e1c6
Show file tree
Hide file tree
Showing 7 changed files with 126 additions and 493 deletions.
5 changes: 2 additions & 3 deletions lldb/include/lldb/Symbol/ObjectFile.h
Original file line number Diff line number Diff line change
Expand Up @@ -656,9 +656,8 @@ class ObjectFile : public std::enable_shared_from_this<ObjectFile>,
// When an object file is in memory, subclasses should try and lock the
// process weak pointer. If the process weak pointer produces a valid
// ProcessSP, then subclasses can call this function to read memory.
static lldb::WritableDataBufferSP
ReadMemory(const lldb::ProcessSP &process_sp, lldb::addr_t addr,
size_t byte_size);
static lldb::DataBufferSP ReadMemory(const lldb::ProcessSP &process_sp,
lldb::addr_t addr, size_t byte_size);

// This function returns raw file contents. Do not use it if you want
// transparent decompression of section contents.
Expand Down
Loading

0 comments on commit 1d9e1c6

Please sign in to comment.