[llvm] r252253 - Fix bugpoint breakage on libcxx introduced by r252247
Keno Fischer via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 5 16:45:48 PST 2015
Author: kfischer
Date: Thu Nov 5 18:45:47 2015
New Revision: 252253
URL: http://llvm.org/viewvc/llvm-project?rev=252253&view=rev
Log:
Fix bugpoint breakage on libcxx introduced by r252247
Modified:
llvm/trunk/tools/bugpoint/CrashDebugger.cpp
Modified: llvm/trunk/tools/bugpoint/CrashDebugger.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/bugpoint/CrashDebugger.cpp?rev=252253&r1=252252&r2=252253&view=diff
==============================================================================
--- llvm/trunk/tools/bugpoint/CrashDebugger.cpp (original)
+++ llvm/trunk/tools/bugpoint/CrashDebugger.cpp Thu Nov 5 18:45:47 2015
@@ -828,8 +828,8 @@ static bool DebugACrash(BugDriver &BD,
// contribute to the crash, bisect the operands of the remaining ones
std::vector<const MDNode *> NamedMDOps;
for (auto &NamedMD : BD.getProgram()->named_metadata())
- NamedMDOps.insert(NamedMDOps.end(), NamedMD.op_begin(),
- NamedMD.op_end());
+ for (auto op : NamedMD.operands())
+ NamedMDOps.push_back(op);
ReduceCrashingNamedMDOps(BD, TestFn).reduceList(NamedMDOps, Error);
}
}
More information about the llvm-commits
mailing list