Commit cb194bc3 authored by nilfit's avatar nilfit

fix getAllMetadata call

parent c853306f
......@@ -92,8 +92,8 @@ void CallGirlGraph::addToCallGirlGraph(Function *F)
errs() << "\n -- callsite -- " << I << ", Callee: " << Callee << "\n";
SmallVectorImpl<std::pair<unsigned, MDNode *>> MD();
(&I)->getAllMetadata(MD);
SmallVector<std::pair<unsigned, MDNode *>, 1> MDs;
I.getAllMetadata(MDs);
// errs() << "metadata: " << << "\n";
// errs() << "metadata: " << CS->getMetadata(1) << "\n";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment