[LLVMbugs] [Bug 21359] Sanitizer link error looking for typeinfo

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Oct 23 13:27:25 PDT 2014


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

Richard Smith <richard-llvm at metafoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |richard-llvm at metafoo.co.uk
         Resolution|---                         |INVALID

--- Comment #2 from Richard Smith <richard-llvm at metafoo.co.uk> ---
Your code is ill-formed (with no diagnostic required); the C++ standard
requires you to provide a definition for every (non-pure) virtual function that
you declare.

(It would also be ill-formed even if the function were not virtual, because
Blah::asdf is odr-used from test, but we'll let you get away with that even
without sanitizers enabled.)

-- 
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/20141023/2bc7ee10/attachment.html>


More information about the llvm-bugs mailing list