示例#1
0
 public Target(ref ptr <sys.Arch> Arch = default, objabi.HeadType HeadType = default, LinkMode LinkMode = default, BuildMode BuildMode = default, bool linkShared = default, bool canUsePlugins = default, bool IsELF = default)
 {
     this.Arch          = Arch;
     this.HeadType      = HeadType;
     this.LinkMode      = LinkMode;
     this.BuildMode     = BuildMode;
     this.linkShared    = linkShared;
     this.canUsePlugins = canUsePlugins;
     this.IsELF         = IsELF;
 }
示例#2
0
 public Link(ref ptr <OutBuf> Out = default, ref ptr <sym.Symbols> Syms = default, ref ptr <sys.Arch> Arch = default, long Debugvlog = default, ref ptr <bufio.Writer> Bso = default, bool Loaded = default, bool IsELF = default, objabi.HeadType HeadType = default, bool linkShared = default, LinkMode LinkMode = default, BuildMode BuildMode = default, bool canUsePlugins = default, bool compressDWARF = default, ref ptr <sym.Symbol> Tlsg = default, slice <@string> Libdir = default, slice <ptr <sym.Library> > Library = default, map <@string, ptr <sym.Library> > LibraryByPkg = default, slice <Shlib> Shlibs = default, long Tlsoffset = default, slice <ptr <sym.Symbol> > Textp = default, slice <ptr <sym.Symbol> > Filesyms = default, ref ptr <sym.Symbol> Moduledata = default, map <@string, @string> PackageFile = default, map <@string, @string> PackageShlib = default, slice <ptr <sym.Symbol> > tramps = default, map <unresolvedSymKey, bool> unresolvedSymSet = default, map <ptr <sym.Symbol>, ptr <sym.Symbol> > Reachparent = default, slice <ptr <sym.CompilationUnit> > compUnits = default, ref ptr <sym.CompilationUnit> runtimeCU = default, slice <byte> relocbuf = default, ref ptr <loader.Loader> loader = default, slice <cgodata> cgodata = default, map <@string, bool> cgo_export_static = default, map <@string, bool> cgo_export_dynamic = default)
 {
     this.Out                = Out;
     this.Syms               = Syms;
     this.Arch               = Arch;
     this.Debugvlog          = Debugvlog;
     this.Bso                = Bso;
     this.Loaded             = Loaded;
     this.IsELF              = IsELF;
     this.HeadType           = HeadType;
     this.linkShared         = linkShared;
     this.LinkMode           = LinkMode;
     this.BuildMode          = BuildMode;
     this.canUsePlugins      = canUsePlugins;
     this.compressDWARF      = compressDWARF;
     this.Tlsg               = Tlsg;
     this.Libdir             = Libdir;
     this.Library            = Library;
     this.LibraryByPkg       = LibraryByPkg;
     this.Shlibs             = Shlibs;
     this.Tlsoffset          = Tlsoffset;
     this.Textp              = Textp;
     this.Filesyms           = Filesyms;
     this.Moduledata         = Moduledata;
     this.PackageFile        = PackageFile;
     this.PackageShlib       = PackageShlib;
     this.tramps             = tramps;
     this.unresolvedSymSet   = unresolvedSymSet;
     this.Reachparent        = Reachparent;
     this.compUnits          = compUnits;
     this.runtimeCU          = runtimeCU;
     this.relocbuf           = relocbuf;
     this.loader             = loader;
     this.cgodata            = cgodata;
     this.cgo_export_static  = cgo_export_static;
     this.cgo_export_dynamic = cgo_export_dynamic;
 }