mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-12-13 15:19:11 +00:00
moved elf logging to DebugDump fuction , which can be enabled in config . This reduces main log file a lot
This commit is contained in:
@@ -379,6 +379,12 @@ void Linker::DebugDump() {
|
||||
std::filesystem::create_directory(filepath);
|
||||
m.get()->import_sym.DebugDump(filepath / "imports.txt");
|
||||
m.get()->export_sym.DebugDump(filepath / "exports.txt");
|
||||
if (m.get()->elf.IsSelfFile()) {
|
||||
m.get()->elf.SelfHeaderDebugDump(filepath / "selfHeader.txt");
|
||||
m.get()->elf.SelfSegHeaderDebugDump(filepath / "selfSegHeaders.txt");
|
||||
}
|
||||
m.get()->elf.ElfHeaderDebugDump(filepath / "elfHeader.txt");
|
||||
m.get()->elf.PHeaderDebugDump(filepath / "elfPHeaders.txt");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user