llvm2py.ir.global_object module

class GlobalObject(addr_space: int, align: int, linkage: int, unnamed_addr: int, visibility: int, thread_local: int, section: str)

Bases: object

Class, representing GlobalObject and GlobalValue fields.

addr_space: int

Address space of the object.

align: int

Alignment of the object.

linkage: LinkageType

Object linkage type.

section: str | None

Object section.

thread_local: ThreadLocal

Object ThreadLocal model.

unnamed_addr: UnnamedAddr

Object UnnamedAddr. If the local_unnamed_addr attribute is given, the address is known to not be significant within the module.

visibility: VisibilityTypes

Object visibility.