On 2013/05/14 10:53, Vadim Zhukov wrote:
> >  lib/BugpointPasses.so
> >  lib/LLVMHello.so
> >
> 
> Altough those two items are not introduced in update, but what's are them​?
> Should they present in PLIST at all? And, if yes, maybe they should be
> SHARED_LIBS?

I don't know LLVM particularly well but this is what I *think* they're for:

LLVMHello.so is probably a pre-compiled version of the "hello world"
pass mentioned in http://llvm.org/docs/WritingAnLLVMPass.html

However it doesn't seem to actually work at present

$ opt -load /usr/local/lib/LLVMHello.so -help 2>&1 |grep -i hello
opt:/usr/local/lib/LLVMHello.so: undefined symbol 
'_ZNK4llvm4Pass11getPassNameEv'
opt:/usr/local/lib/LLVMHello.so: undefined symbol 
'_ZNK4llvm4Pass11getPassNameEv'
opt:/usr/local/lib/LLVMHello.so: undefined symbol 
'_ZNK4llvm4Pass5printERNS_11raw_ostreamEPKNS_6ModuleE'
...snip...

BugpointPasses.so looks like it's probably used for bugpoint(1), not sure
exactly what though.

Anyway in both cases they are dlopened and shouldn't be versioned.


Reply via email to