mirror of
https://github.com/ziglang/zig.git
synced 2026-02-12 20:37:54 +00:00
debug
This commit is contained in:
parent
004fca2c64
commit
92a857b76c
@ -76,7 +76,15 @@ pub fn updateFunc(self: *NvPtx, module: *Module, func: *Module.Fn, air: Air, liv
|
||||
|
||||
pub fn updateDecl(self: *NvPtx, module: *Module, decl_index: Module.Decl.Index) !void {
|
||||
if (!build_options.have_llvm) return;
|
||||
const decl = module.declPtr(decl_index);
|
||||
log.info("updating {s}", .{decl.name});
|
||||
return self.llvm_object.updateDecl(module, decl_index);
|
||||
// const decl_index = func.owner_decl;
|
||||
// const decl = module.declPtr(decl_index);
|
||||
|
||||
// try mod.decl_exports.ensureUnusedCapacity(gpa, 1);
|
||||
// try mod.export_owners.ensureUnusedCapacity(gpa, 1);
|
||||
// mod.decl_exports.getOrPutAssumeCapacity(exported_decl_index);
|
||||
}
|
||||
|
||||
pub fn updateDeclExports(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user