[LLVMdev] RTTI handling

Somorjai, Akos ASomorjai at graphisoft.com
Fri Sep 30 09:15:00 PDT 2011


Hello all,

I was wondering how llvm and clang handles the RTTI shared libraries issue mentioned here: http://gcc.gnu.org/faq.html#dso

Is it using name or address comparison?

We have an architecture with several frameworks and plug-ins; some of the latter are being loaded and unloaded runtime.
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…

(Mac OS X 10.6/10.7, clang 3.0)

Thanks,

Ákos Somorjai
Developer Support Manager

GRAPHISOFT | Graphisoft Park 1. Budapest 1031 Hungary | +36 1 437-3000 | asomorjai at graphisoft.com

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


More information about the llvm-dev mailing list