[LLVMdev] RTTI handling
Garrison Venn
gvenn.cfe.dev at gmail.com
Fri Sep 30 10:16:02 PDT 2011
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.
Garrison
On Sep 30, 2011, at 12:15, Somorjai, Akos wrote:
> 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
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110930/8aeb354c/attachment.html>
More information about the llvm-dev
mailing list