Commit 62de7a2efd

TibboddiT <thibault@paradigme.tech>
2025-10-31 09:44:47
fix typo in std.debug.ElfFile.loadSeparateDebugFile
closes #25667
1 parent 3893683
Changed files (1)
lib
std
lib/std/debug/ElfFile.zig
@@ -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;