On 16 Feb 2016, at 18:51, Hans Wennborg <h...@chromium.org> wrote:
> 
> On Sun, Feb 14, 2016 at 8:14 AM, Dimitry Andric <dimi...@andric.com> wrote:
>> 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.
> 
> I'm OK with that, go ahead (or let me know if you'd like me to merge it).

Thanks, merged in r261003.

-Dimitry

Attachment: 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

Reply via email to