[llvm] r262926 - [gold] Avoid assertion failures when taking a pointer to an empty vector.

Benjamin Kramer via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 9 04:46:29 PST 2016


On Tue, Mar 8, 2016 at 7:42 PM, Davide Italiano <davide at freebsd.org> wrote:
> On Tue, Mar 8, 2016 at 6:02 AM, Benjamin Kramer via llvm-commits
> <llvm-commits at lists.llvm.org> wrote:
>> Author: d0k
>> Date: Tue Mar  8 08:02:46 2016
>> New Revision: 262926
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=262926&view=rev
>> Log:
>> [gold] Avoid assertion failures when taking a pointer to an empty vector.
>>
>
> Is there a way to test this?

This is covered by existing tests, but it needs a c++ standard library
with debug mode enabled and the build has to include the gold plugin
(which afaik needs custom cmake flags currently) so it doesn't get a
lot of testing.


More information about the llvm-commits mailing list