On 14 Feb 2016, at 17:08, Dimitry Andric via cfe-commits <cfe-commits@lists.llvm.org> wrote: > > Author: dim > Date: Sun Feb 14 10:08:20 2016 > New Revision: 260851 > > URL: http://llvm.org/viewvc/llvm-project?rev=260851&view=rev > Log: > As reported in https://llvm.org/bugs/show_bug.cgi?id=25496, on FreeBSD, > C++ programs compiled for profiling (using `-pg`) should be linked with > `-lc++_p` (or `-lstdc++_p`, depending on the `-stdlib=` setting), not > with the regular C++ libraries. > > Add a `FreeBSD::AddCXXStdlibLibArgs()` override to handle this, and add > a test case for it. While here, extend the test case for the proper > passing of -lm and -lm_p. > > Reviewers: compnerd, davide, dws, emaste > Reviewed By: compnerd > Differential Revision: http://reviews.llvm.org/D16264
Hi Hans, I would like to merge this to the 3.8 branch. This only affects FreeBSD. -Dimitry
signature.asc
Description: Message signed with OpenPGP using GPGMail
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits