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

Hans Wennborg via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 16 09:51:27 PST 2016


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,
Hans


More information about the cfe-commits mailing list