MCPcopy Create free account
hub / github.com/google/gapid / LinkPublic

Method LinkPublic

core/codegen/module.go:327–330  ·  view source on GitHub ↗

LinkPublic makes this global use public linkage.

()

Source from the content-addressed store, hash-verified

325
326// LinkPublic makes this global use public linkage.
327func (g Global) LinkPublic() Global {
328 g.llvm.SetLinkage(llvm.ExternalLinkage)
329 return g
330}
331
332// SetConstant makes this global constant.
333func (g Global) SetConstant(constant bool) Global {

Callers 1

buildModuleMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected