[cfe-dev] [libc++]

Mehdi Amini via cfe-dev cfe-dev at lists.llvm.org
Mon Feb 13 08:33:09 PST 2017


Hi,

There use to be known UBSAN failures in libc++, they have been fixed as of now AFAIK (most in 3.9).

Best,

— 
Mehdi

> On Feb 13, 2017, at 6:56 AM, Tobias Markus via cfe-dev <cfe-dev at lists.llvm.org> wrote:
> 
> Hi,
> 
> compiling a C++ application with UBSan enabled, I get a couple of
> alignment-related errors from UBSan on std::map-related functions. The
> map is of type std::map<int, std::function<void()>>.
> 
> Relevant messages: https://gist.github.com/hesiod/3f978eace168609af37a2
> 1ca26e7adc0
> 
> This occured with libc++ 3.8.0 and clang/llvm 3.9.1 on Arch Linux.
> 
> Tobias
> 
> PS: Please make sure to include me in all replies since I am not
> subscribed to cfe-dev.
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev




More information about the cfe-dev mailing list