<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Jun 24, 2011, at 11:03 AM, Carlo Alberto Ferraris wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<div bgcolor="#ffffff" text="#000000">
<br>
<blockquote cite="mid:F524C8B1-E48A-4B56-BCC9-C2A925EDFA80@gmail.com" type="cite">
<div>
<div>Are you loading the shared library directly from the build
directory, or are you installing it first? <br>
</div>
</div>
</blockquote>
I'm invoking it directly, I guess:<tt> ./opt -load=CGF.so -cgf
-debug test.S </tt><br>
should I install it? (I have no idea about how to do it, though...)<br>
<br>
<blockquote cite="mid:F524C8B1-E48A-4B56-BCC9-C2A925EDFA80@gmail.com" type="cite">
<div>
<div>If you run "file CGF.so" on the file you actually load,
does it say it is stripped or non-stripped?</div>
</div>
</blockquote>
<tt>cafxx@ubuntu:~/Projects/llvm2/Debug+Asserts/bin$ file
../lib/CGF.so <br>
../lib/CGF.so: ELF 64-bit LSB shared object, x86-64, version 1
(SYSV), dynamically linked, not stripped</tt><br>
<br></div></blockquote><div><br></div><div>That's a weird one. Does addr2line work?</div><div><br></div><div>$ addr2line -e CGF.so <address></div><br><blockquote type="cite"><div bgcolor="#ffffff" text="#000000">
<br>
<div class="moz-signature">-- <br>
<style type="text/css">
.signature {
}
.signature a, .signature a:link, .signature a:hover, .signature a:active,
</style>
<div style="background: none repeat scroll 0% 0% rgb(238, 238,
238); border: 1px solid rgb(221, 221, 221); padding: 7px 9px;
display: inline-block; -moz-border-radius: 6px 6px 6px 6px;">
Carlo Alberto Ferraris <<a href="mailto:cafxx@strayorange.com">cafxx@strayorange.com</a>><br>
<a href="http://cafxx.strayorange.com/">website/blog</a> - +39
333 7643 235
</div>
</div>
</div>
<span><cafxx.vcf></span>_______________________________________________<br>LLVM Developers mailing list<br><a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a> <a href="http://llvm.cs.uiuc.edu">http://llvm.cs.uiuc.edu</a><br><a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br></blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">Thanks,<br><br>Justin Holewinski</span>
</div>
<br></body></html>