forked from OSchip/llvm-project
Handle C++ static variables in the expression
parser. <rdar://problem/13631469> llvm-svn: 179304
This commit is contained in:
parent
e2742a038c
commit
0ff3bf96f2
|
|
@ -1703,6 +1703,8 @@ IRForTarget::MaybeHandleVariable (Value *llvm_value_ptr)
|
||||||
{
|
{
|
||||||
if (!global_variable->hasExternalLinkage())
|
if (!global_variable->hasExternalLinkage())
|
||||||
return true;
|
return true;
|
||||||
|
else if (HandleSymbol (global_variable))
|
||||||
|
return true;
|
||||||
else
|
else
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue