1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00

Fix bugpoint breakage on libcxx introduced by r252247

llvm-svn: 252253
This commit is contained in:
Keno Fischer 2015-11-06 00:45:47 +00:00
parent 718baa6b8c
commit 15297f1ae1

View File

@ -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);
}
}