Patrick Wildt <patr...@blueri.se> writes:

> regarding the missing userpace support:  Since a few clang updates ago
> we import more than just the builtins of compiler-rt.  This means we
> should have at least some related code in our tree, even if it is not
> built/complete.  From the recent static analyzer mail thread it looks
> like people prefer to have such stuff in ports-clang, so, whatever.

This may or may not be analogous. How hard is it to build a base/ports
program with clang from ports? If it's a simple matter of
make CC=/usr/local/bin/cc CFLAGS=-fsanitize=undefined
then it makes little difference whether the base compiler includes
the libraries for UBSan reporting.

jca@ WDYT, should I first target devel/llvm to have UBSan working or go
straight to /usr/src?

Thanks
Greg

Reply via email to