Home
last modified time | relevance | path

Searched refs:global_variable (Results 1 – 2 of 2) sorted by relevance

/openbsd-src/gnu/llvm/lldb/examples/python/
H A Dglobals.py46 for global_variable in global_variable_list:
48 print('name = %s' % global_variable.name)
50 print('value = %s' % global_variable.value)
51 … print('type = %s' % global_variable.type) # Returns an lldb.SBType object
54 print('addr = %s' % global_variable.addr)
57 print('file_addr = 0x%x' % global_variable.addr.file_addr)
59 print('location = %s' % global_variable.location)
62 print('size = %s' % global_variable.size)
/openbsd-src/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/
H A DIRForTarget.cpp722 GlobalVariable *global_variable = dyn_cast<GlobalVariable>(value); in IsObjCSelectorRef() local
724 return !(!global_variable || !global_variable->hasName() || in IsObjCSelectorRef()
725 !global_variable->getName().startswith("OBJC_SELECTOR_REFERENCES_")); in IsObjCSelectorRef()
872 GlobalVariable *global_variable = dyn_cast<GlobalVariable>(value); in IsObjCClassReference() local
874 return !(!global_variable || !global_variable->hasName() || in IsObjCClassReference()
875 !global_variable->getName().startswith("OBJC_CLASS_REFERENCES_")); in IsObjCClassReference()
1148 } else if (GlobalVariable *global_variable = in MaybeHandleVariable() local
1150 if (!GlobalValue::isExternalLinkage(global_variable->getLinkage())) in MaybeHandleVariable()
1153 clang::NamedDecl *named_decl = DeclForGlobal(global_variable); in MaybeHandleVariable()
1159 if (!global_variable->hasExternalLinkage()) in MaybeHandleVariable()
[all …]