[LLVMdev] Missing symbols in pass stack trace

Carlo Alberto Ferraris cafxx at strayorange.com
Fri Jun 24 09:36:25 PDT 2011


> That's a weird one.  Does addr2line work?
> $ addr2line -e CGF.so <address>
cafxx at ubuntu:~/Projects/llvm2/Debug+Asserts/bin$ objdump -t 
../lib/CGF.so | grep flatten
0000000000005622 l     F .text    0000000000000aa6              
_ZN12_GLOBAL__N_111CGFFunction7flattenEv
00000000000041d6 l     F .text    000000000000049c              
_ZN12_GLOBAL__N_111CGFCallSite7flattenEv
000000000001a600 l     O .rodata    0000000000000026              
_ZZN12_GLOBAL__N_111CGFCallSite7flattenEvE19__PRETTY_FUNCTION__
0000000000019920 l     O .rodata    0000000000000026              
_ZZN12_GLOBAL__N_111CGFFunction7flattenEvE19__PRETTY_FUNCTION__
cafxx at ubuntu:~/Projects/llvm2/Debug+Asserts/bin$ addr2line -e 
../lib/CGF.so 5622
/home/cafxx/Projects/llvm2/lib/Transforms/cgf/CGFFunction.cppi:27

the file name and line are correct...

-- 
Carlo Alberto Ferraris <cafxx at strayorange.com 
<mailto:cafxx at strayorange.com>>
website/blog <http://cafxx.strayorange.com> - +39 333 7643 235
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110624/465615ae/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cafxx.vcf
Type: text/x-vcard
Size: 233 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110624/465615ae/attachment.vcf>


More information about the llvm-dev mailing list