Chris,

> This can use the new getAliaseeGlobal() method.
Not here. We should distinguish, whether we have variable, function ot
bitcast here and print them differently.

> What does it mean for an alias to be a declaration?  I'd be fine with  
> them always returning true or false.  What code calls  
> GlobalValue::isDeclaration?
I thought to use it inside linker. Call Alias->isDeclaration() and if
not => do RAUW. I think it's ok to delegate isDeclaration() to aliasee.

-- 
With best regards, Anton Korobeynikov.

Faculty of Mathematics & Mechanics, Saint Petersburg State University.


_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to