mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-07 01:26:20 +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:
parent
b2508c502b
commit
3b87c3c128
3 changed files with 40 additions and 51 deletions
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue