mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:58:11 +00:00
LibELF: Remove ELF::Loader and move everyone to ELF::Image
This commit gets rid of ELF::Loader entirely since its very ambiguous purpose was actually to load executables for the kernel, and that is now handled by the kernel itself. This patch includes some drive-by cleanup in LibDebug and CrashDaemon enabled by the fact that we no longer need to keep the ref-counted ELF::Loader around.
This commit is contained in:
parent
7551a66f73
commit
1e4c010643
24 changed files with 178 additions and 318 deletions
|
@ -34,7 +34,7 @@
|
|||
#include <AK/Types.h>
|
||||
#include <LibDebug/DebugInfo.h>
|
||||
#include <LibELF/AuxiliaryVector.h>
|
||||
#include <LibELF/Loader.h>
|
||||
#include <LibELF/Image.h>
|
||||
#include <LibX86/Instruction.h>
|
||||
#include <signal.h>
|
||||
#include <sys/types.h>
|
||||
|
@ -208,8 +208,7 @@ private:
|
|||
|
||||
struct CachedELF {
|
||||
MappedFile mapped_file;
|
||||
NonnullRefPtr<ELF::Loader> elf_loader;
|
||||
OwnPtr<Debug::DebugInfo> debug_info;
|
||||
NonnullOwnPtr<Debug::DebugInfo> debug_info;
|
||||
};
|
||||
|
||||
HashMap<String, CachedELF> m_dynamic_library_cache;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue