mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 00:11:00 +00:00
Go: add binding for LLVMSetUnnamedAddr.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220416 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9552fcab70
commit
596e63d001
@ -956,6 +956,7 @@ func (v Value) Visibility() Visibility { return Visibility(C.LLVMGetVisibil
|
||||
func (v Value) SetVisibility(vi Visibility) { C.LLVMSetVisibility(v.C, C.LLVMVisibility(vi)) }
|
||||
func (v Value) Alignment() int { return int(C.LLVMGetAlignment(v.C)) }
|
||||
func (v Value) SetAlignment(a int) { C.LLVMSetAlignment(v.C, C.unsigned(a)) }
|
||||
func (v Value) SetUnnamedAddr(ua bool) { C.LLVMSetUnnamedAddr(v.C, boolToLLVMBool(ua)) }
|
||||
|
||||
// Operations on global variables
|
||||
func AddGlobal(m Module, t Type, name string) (v Value) {
|
||||
|
Loading…
Reference in New Issue
Block a user