Function debugCompileUnit [src]
Prototype
pub fn debugCompileUnit( self: *Builder, file: Metadata, producer: MetadataString, enums: Metadata, globals: Metadata, options: Metadata.CompileUnit.Options, ) Allocator.Error!Metadata
Parameters
self: *Builder
file: Metadata
producer: MetadataString
enums: Metadata
globals: Metadata
options: Metadata.CompileUnit.Options
Source
pub fn debugCompileUnit(
self: *Builder,
file: Metadata,
producer: MetadataString,
enums: Metadata,
globals: Metadata,
options: Metadata.CompileUnit.Options,
) Allocator.Error!Metadata {
try self.ensureUnusedMetadataCapacity(1, Metadata.CompileUnit, 0);
return self.debugCompileUnitAssumeCapacity(file, producer, enums, globals, options);
}