[LLVMdev] Missing symbols in pass stack trace

Justin Holewinski justin.holewinski at gmail.com
Fri Jun 24 08:17:59 PDT 2011


On Jun 24, 2011, at 11:03 AM, Carlo Alberto Ferraris wrote:

> 
>> Are you loading the shared library directly from the build directory, or are you installing it first?  
> I'm invoking it directly, I guess: ./opt -load=CGF.so -cgf -debug test.S 
> should I install it? (I have no idea about how to do it, though...)
> 
>> If you run "file CGF.so" on the file you actually load, does it say it is stripped or non-stripped?
> cafxx at ubuntu:~/Projects/llvm2/Debug+Asserts/bin$ file ../lib/CGF.so 
> ../lib/CGF.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, not stripped
> 

That's a weird one.  Does addr2line work?

$ addr2line -e CGF.so <address>

> 
> -- 
> Carlo Alberto Ferraris <cafxx at strayorange.com>
> website/blog - +39 333 7643 235
> <cafxx.vcf>_______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev

Thanks,

Justin Holewinski

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110624/686504aa/attachment.html>


More information about the llvm-dev mailing list