Allow the compiler driver to link the libclang_rt.profile library.
authorfcambus <fcambus@openbsd.org>
Fri, 3 Sep 2021 16:11:45 +0000 (16:11 +0000)
committerfcambus <fcambus@openbsd.org>
Fri, 3 Sep 2021 16:11:45 +0000 (16:11 +0000)
commitab29ea966281b9858a45bf031eac47d2ab1cd59c
tree6db239adbbb955c1a20fde31e8e664f012aeff16
parent8dc94f388f54450ea5ceff4f8d50534acf2ce71a
Allow the compiler driver to link the libclang_rt.profile library.

With this change, passing -fprofile-instr-generate -fcoverage-mapping
when building programs will attempt linking against libclang_rt.profile.a.

Please note that we do not ship the library yet.

OK jca@
gnu/llvm/clang/lib/Driver/ToolChains/OpenBSD.cpp