fix typo in std.debug.ElfFile.loadSeparateDebugFile

closes #25667
This commit is contained in:
TibboddiT 2025-10-31 09:44:47 +01:00 committed by GitHub
parent 389368392e
commit 62de7a2efd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -377,7 +377,7 @@ fn loadSeparateDebugFile(arena: Allocator, main_loaded: *LoadInnerResult, opt_cr
"debug_line",
})) |name| {
const s = @field(Section.Id, name);
if (main_loaded.sections.get(s) == null and result.sections.get(s) != null) {
if (main_loaded.sections.get(s) == null and result.sections.get(s) == null) {
break false;
}
} else true;