[LLVMbugs] [Bug 19030] New: MS ABI: Support typeid as used in std::function even when RTTI is disabled

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Mar 3 11:38:41 PST 2014


http://llvm.org/bugs/show_bug.cgi?id=19030

            Bug ID: 19030
           Summary: MS ABI: Support typeid as used in std::function even
                    when RTTI is disabled
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
          Assignee: unassignedclangbugs at nondot.org
          Reporter: rnk at google.com
                CC: llvmbugs at cs.uiuc.edu
        Depends on: 18951
    Classification: Unclassified

dynamic_cast doesn't work in MSVC when RTTI is disabled, but typeid appears to
do something, at least insofar as std::function uses it and things appear to
work.  

Currently we error out on the typeid.  We should do whatever it is they are
doing that makes this work.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140303/5d5cf4d5/attachment.html>


More information about the llvm-bugs mailing list