r260851 - As reported in https://llvm.org/bugs/show_bug.cgi?id=25496, on FreeBSD,

Dimitry Andric via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 16 12:02:24 PST 2016


On 16 Feb 2016, at 18:51, Hans Wennborg <hans at chromium.org> wrote:
> 
> On Sun, Feb 14, 2016 at 8:14 AM, Dimitry Andric <dimitry at andric.com> wrote:
>> On 14 Feb 2016, at 17:08, Dimitry Andric via cfe-commits <cfe-commits at 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160216/add70f4d/attachment.sig>


More information about the cfe-commits mailing list