[LLVMdev] [llvm-commits] CVS: llvm/lib/Transforms/Hello/Makefile

Devang Patel dpatel at apple.com
Fri Apr 13 11:49:24 PDT 2007

On Apr 13, 2007, at 12:39 PM, Chris Lattner wrote:

> On Fri, 13 Apr 2007, Devang Patel wrote:
>>> I think libhello should drop its use of SlowOperationInformer.
>> That'll fix Hello example. However, anyone trying to load their  
>> custom
>> pass will likely to run into this again.
> It is a long-standing issue.  The deal is that libsupport (and many
> others) are .a files.  If one of the .o files in the .a file is used  
> by a
> plugin, but not by the tool, they will get link errors.  There isn't a
> good solution to this, I'd rather keep libhello as a santity test  
> rather
> than a test for a complete solution.  :)

ok. I did not realize that this is related to .o files not used by  
I'll remove SlowerOperationInformer from Hello.


> For any specific client, they can do things to link the needed .o  
> files
> in.  For example, we could make opt reference a symbol in
> slowoperationinformer.  I don't think it's important enough to do this
> though.
> -Chris
> -- 
> http://nondot.org/sabre/
> http://llvm.org/
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev

More information about the llvm-dev mailing list