Example #1
0
func (a linkageAttribute) Apply(v Value) {
	global := v.(*LLVMValue).pointer.value
	global.SetLinkage(llvm.Linkage(a))
}
Example #2
0
func (a linkageAttribute) Apply(v Value) {
	v.LLVMValue().SetLinkage(llvm.Linkage(a))
}