<div dir="ltr">The error was the following, which seems to be only failing on libc++ (from observing which buildbots fail & the fact that it passes locally on my linux machine with libstdc++ - I'm in the process of building this branch on my mac to make sure but wanted to try to get the buildbots green):<div><br>```<br><br>/usr/home/buildslave/slave_as-bldslv5/lld-x86_64-freebsd/llvm.src/tools/bugpoint/CrashDebugger.cpp:831:20: error: no matching member function for call to 'insert'<br>        NamedMDOps.insert(NamedMDOps.end(), NamedMD.op_begin(),<br>        ~~~~~~~~~~~^~~~~~<br>/usr/include/c++/v1/vector:715:14: note: candidate function not viable: no known conversion from 'op_iterator' (aka 'op_iterator_impl<llvm::MDNode *, llvm::MDNode>') to 'size_type' (aka 'unsigned long') for 2nd argument<br>    iterator insert(const_iterator __position, size_type __n, const_reference __x);<br>             ^<br>/usr/include/c++/v1/vector:719:14: note: candidate template ignored: disabled by 'enable_if' [with _InputIterator = llvm::NamedMDNode::op_iterator_impl<llvm::MDNode *, llvm::MDNode>]<br>             __is_input_iterator  <_InputIterator>::value &&<br>             ^<br>/usr/include/c++/v1/vector:730:13: note: candidate template ignored: disabled by 'enable_if' [with _ForwardIterator = llvm::NamedMDNode::op_iterator_impl<llvm::MDNode *, llvm::MDNode>]<br>            __is_forward_iterator<_ForwardIterator>::value &&<br>            ^<br>/usr/include/c++/v1/vector:707:14: note: candidate function not viable: requires 2 arguments, but 3 were provided<br>    iterator insert(const_iterator __position, const_reference __x);<br>             ^<br>/usr/include/c++/v1/vector:709:14: note: candidate function not viable: requires 2 arguments, but 3 were provided<br>    iterator insert(const_iterator __position, value_type&& __x);<br>             ^<br>/usr/include/c++/v1/vector:739:14: note: candidate function not viable: requires 2 arguments, but 3 were provided<br>    iterator insert(const_iterator __position, initializer_list<value_type> __il)<br>             ^<br><br>```<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 5, 2015 at 7:54 PM, Duncan P. N. Exon Smith <span dir="ltr"><<a href="mailto:dexonsmith@apple.com" target="_blank">dexonsmith@apple.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
> On 2015-Nov-05, at 16:45, Keno Fischer via llvm-commits <<a href="mailto:llvm-commits@lists.llvm.org">llvm-commits@lists.llvm.org</a>> wrote:<br>
><br>
> Author: kfischer<br>
> Date: Thu Nov  5 18:45:47 2015<br>
> New Revision: 252253<br>
><br>
> URL: <a href="http://llvm.org/viewvc/llvm-project?rev=252253&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project?rev=252253&view=rev</a><br>
> Log:<br>
> Fix bugpoint breakage on libcxx introduced by r252247<br>
><br>
> Modified:<br>
>    llvm/trunk/tools/bugpoint/CrashDebugger.cpp<br>
><br>
> Modified: llvm/trunk/tools/bugpoint/CrashDebugger.cpp<br>
> URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/bugpoint/CrashDebugger.cpp?rev=252253&r1=252252&r2=252253&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/bugpoint/CrashDebugger.cpp?rev=252253&r1=252252&r2=252253&view=diff</a><br>
> ==============================================================================<br>
> --- llvm/trunk/tools/bugpoint/CrashDebugger.cpp (original)<br>
> +++ llvm/trunk/tools/bugpoint/CrashDebugger.cpp Thu Nov  5 18:45:47 2015<br>
> @@ -828,8 +828,8 @@ static bool DebugACrash(BugDriver &BD,<br>
>       // contribute to the crash, bisect the operands of the remaining ones<br>
>       std::vector<const MDNode *> NamedMDOps;<br>
>       for (auto &NamedMD : BD.getProgram()->named_metadata())<br>
> -        NamedMDOps.insert(NamedMDOps.end(), NamedMD.op_begin(),<br>
> -                          NamedMD.op_end());<br>
<br>
What was the error?  This seems strange.  Should we fix something?<br>
<br>
> +        for (auto op : NamedMD.operands())<br>
> +          NamedMDOps.push_back(op);<br>
<br>
Style nitpick: it'd be clearer to specify the type here (`MDNode *`?),<br>
and "op" should really be "Op".<br>
<br>
>       ReduceCrashingNamedMDOps(BD, TestFn).reduceList(NamedMDOps, Error);<br>
>     }<br>
>   }<br>
><br>
><br>
> _______________________________________________<br>
> llvm-commits mailing list<br>
> <a href="mailto:llvm-commits@lists.llvm.org">llvm-commits@lists.llvm.org</a><br>
> <a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits</a><br>
<br>
</blockquote></div><br></div>