<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">LLVM does not use RTTI--it has its own mechanisms; see llvm/include/llvm/Support/Casting.h, and by default it is turning off for an LLVM build.<div><br></div><div>Garrison<br><div><br><div><div>On Sep 30, 2011, at 12:15, Somorjai, Akos wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">

<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">

<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 13px; font-family: Arial, sans-serif; ">
<div>
<div>
<div>Hello all,</div>
<div><br>
</div>
<div>I was wondering how llvm and clang handles the RTTI shared libraries issue mentioned here:
<a href="http://gcc.gnu.org/faq.html#dso">http://gcc.gnu.org/faq.html#dso</a></div>
<div><br>
</div>
<div>Is it using name or address comparison?</div>
<div><br>
</div>
<div>We have an architecture with several frameworks and plug-ins; some of the latter are being loaded and unloaded runtime.</div>
<div>In the past that issue caused crashes in our app, so at the moment we are overriding __dynamic_cast to detect this problem, but that's kind of messy. I'm hoping for a better solution with llvm…</div>
<div><br>
</div>
<div>(Mac OS X 10.6/10.7, clang 3.0)</div>
<div><br>
</div>
<div>Thanks,</div>
<div>
<div><p style="font-family: Times; font-size: medium; "><strong style="font-family: Arial, sans-serif; font-size: 12pt; color: black; ">Ákos Somorjai<br>
</strong><font style="font-family: Arial, sans-serif; font-size: 9pt; color: black; ">Developer Support Manager</font><br>
<br>
<span style="font-size: 12pt; color: gray; font-family: Arial, sans-serif; ">GRAPHISOFT </span><span style="font-size: 9pt; color: gray; font-family: Arial, sans-serif; ">| Graphisoft Park 1. Budapest 1031 Hungary | +36 1 437-3000 | <a href="mailto:asomorjai@graphisoft.com">asomorjai@graphisoft.com</a></span></p>
</div>
<div><span style="font-size: 9pt; color: gray; font-family: Arial, sans-serif; "><br>
</span></div>
</div>
</div>
</div>
</div>

_______________________________________________<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></div></body></html>