summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeno Fischer <kfischer@college.harvard.edu>2015-11-06 00:45:47 +0000
committerKeno Fischer <kfischer@college.harvard.edu>2015-11-06 00:45:47 +0000
commit256df863ed6b82ef4042e34255fcae9a6e2c8d8b (patch)
treef95aadd6ff579ed609cb7966fce7163f906cecb2
parent313a018bec6fef9ac6634bd7cce112f4048fa9b7 (diff)
downloadbcm5719-llvm-256df863ed6b82ef4042e34255fcae9a6e2c8d8b.tar.gz
bcm5719-llvm-256df863ed6b82ef4042e34255fcae9a6e2c8d8b.zip
Fix bugpoint breakage on libcxx introduced by r252247
llvm-svn: 252253
-rw-r--r--llvm/tools/bugpoint/CrashDebugger.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/bugpoint/CrashDebugger.cpp b/llvm/tools/bugpoint/CrashDebugger.cpp
index 4b6e6df1028..91bf033ac9c 100644
--- a/llvm/tools/bugpoint/CrashDebugger.cpp
+++ b/llvm/tools/bugpoint/CrashDebugger.cpp
@@ -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);
}
}
OpenPOWER on IntegriCloud