[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp Globals.cpp Module.cpp Verifier.cpp

Anton Korobeynikov asl at math.spbu.ru
Sun Apr 29 03:38:35 PDT 2007


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.





More information about the llvm-commits mailing list