Next step in updating llvm/clang build glue: make libclang_rt build.
Support compiling lib/libclang_rt/profile a bit more with recent versions of gccSeveral of the flags were being treated as CFLAGS, when they were actuallytechnically CXXFLAGS. Move them there.On
Support compiling lib/libclang_rt/profile a bit more with recent versions of gccSeveral of the flags were being treated as CFLAGS, when they were actuallytechnically CXXFLAGS. Move them there.Only apply -fno-sanitize=safe-stack with clang.PR: 223179
show more ...
Merge llvm, clang, lld, lldb, compiler-rt and libc++ r306956, and updatebuild glue.
Expose symbols in lib/libclang_rt/profile to fix --coverageThe symbols currently hidden in libprofile_rt are needed for linking with`clang --coverage` to add coverage counters at link time and pro
Expose symbols in lib/libclang_rt/profile to fix --coverageThe symbols currently hidden in libprofile_rt are needed for linking with`clang --coverage` to add coverage counters at link time and producecoverage numbers at runtime.In collaboration with: dimMFC after: 1 monthSponsored by: Dell EMC IsilonDifferential Revision: D9168
Update compiler-rt to 3.9.0 release, and update the build glue forlibcompiler_rt and libclang_rt.
DIRDEPS_BUILD: Update dependenciesApproved by: re (gjb)Sponsored by: EMC / Isilon Storage Division
Merge compiler-rt release_38 branch r258968.Note that there is still a problem on amd64, causing SIGBUS in the earlystartup of Address Sanitizer. This is being investigated.
META MODE: Update dependencies with 'the-lot' and add missing directories.This is not properly respecting WITHOUT or ARCH dependencies in target/.Doing so requires a massive effort to rework targe
META MODE: Update dependencies with 'the-lot' and add missing directories.This is not properly respecting WITHOUT or ARCH dependencies in target/.Doing so requires a massive effort to rework targets/ to do so. Abetter approach will be to either include the SUBDIR Makefiles directlyand map to DIRDEPS or just dynamically lookup the SUBDIR. These losethe benefit of having a userland/lib, userland/libexec, etc, though andresults in a massive package. The current implementation of targets/ isvery unmaintainable.Currently rescue/rescue and sys/modules are still not connected.Sponsored by: EMC / Isilon Storage Division
Update compiler-rt to 3.7.0 release. This also includes the sanitizerand profile libraries.
Now compiler-rt has been updated in r276851, bring in the varioussanitizer libraries that already work on FreeBSD:* asan: Address Sanitizer* ubsan: Undefined Behavior Sanitizer* profile: Pr
Now compiler-rt has been updated in r276851, bring in the varioussanitizer libraries that already work on FreeBSD:* asan: Address Sanitizer* ubsan: Undefined Behavior Sanitizer* profile: Profile Guided Optimization supportPlease note that these libraries are *experimental* at this stage, sothe main Makefile is not yet connected to the build.Since I didn't want to needlessly edit BSD.usr.dist, you will also haveto create the install directory /usr/lib/clang/3.5.0/lib/freebsdmanually for now.