| ... | @@ -1855,12 +1855,9 @@ pub fn genDebugInfoHeader( | ... | @@ -1855,12 +1855,9 @@ pub fn genDebugInfoHeader( |
| 1855 | try dwarf.abbrevCode(dih_nw, .module); | 1855 | try dwarf.abbrevCode(dih_nw, .module); |
| 1856 | try dwarf.strx(dih_nw, mod.fully_qualified_name); | 1856 | try dwarf.strx(dih_nw, mod.fully_qualified_name); |
| 1857 | try dih_w.writeUleb128(0); | 1857 | try dih_w.writeUleb128(0); |
| 1858 | try dwarf.genModuleDependency( | 1858 | if (zcu.builtin_modules.get(mod.getBuiltinOptions(comp.config).hash())) |builtin_mod| { |
| 1859 | dih_nw, | 1859 | try dwarf.genModuleDependency(dih_nw, "builtin", builtin_mod, module_offset); |
| 1860 | "builtin", | 1860 | } |
| 1861 | zcu.builtin_modules.get(mod.getBuiltinOptions(comp.config).hash()).?, | | |
| 1862 | module_offset, | | |
| 1863 | ); | | |
| 1864 | try dwarf.genModuleDependency(dih_nw, "root", zcu.root_mod, module_offset); | 1861 | try dwarf.genModuleDependency(dih_nw, "root", zcu.root_mod, module_offset); |
| 1865 | try dwarf.genModuleDependency(dih_nw, "std", zcu.std_mod, module_offset); | 1862 | try dwarf.genModuleDependency(dih_nw, "std", zcu.std_mod, module_offset); |
| 1866 | for (mod.deps.keys(), mod.deps.values()) |name, dep| | 1863 | for (mod.deps.keys(), mod.deps.values()) |name, dep| |