Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DIRForTarget.cpp220 GlobalVariable *result_global = dyn_cast<GlobalVariable>(result_value); in CreateResultVariable() local
222 if (!result_global) { in CreateResultVariable()
232 clang::NamedDecl *result_decl = DeclForGlobal(result_global); in CreateResultVariable()
333 (*m_module), result_global->getValueType(), false, /* not constant */ in CreateResultVariable()
359 LLDB_LOG(log, "Replacing \"{0}\" with \"{1}\"", PrintValue(result_global), in CreateResultVariable()
362 if (result_global->use_empty()) { in CreateResultVariable()
372 if (!result_global->hasInitializer()) { in CreateResultVariable()
382 Constant *initializer = result_global->getInitializer(); in CreateResultVariable()
390 result_global->replaceAllUsesWith(new_result_global); in CreateResultVariable()
397 result_global->eraseFromParent(); in CreateResultVariable()