[LLVMbugs] [Bug 21424] Linker error related to RTTI? for -fsanitize=undefined with clang 3.6.0

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Oct 31 16:57:56 PDT 2014


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

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 #1 from Richard Smith <richard-llvm at metafoo.co.uk> ---
> /Users/tobias/llvm/bin/clang

Per the documentation
(http://clang.llvm.org/docs/UsersManual.html#controlling-code-generation), you
must use clang++ to link code using UBSan in C++. (This would also remove the
need to manually specify -lstdc++.)

-- 
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/20141031/574cc5e2/attachment.html>


More information about the llvm-bugs mailing list