Skip to content
Snippets Groups Projects
Commit cb194bc3 authored by nilfit's avatar nilfit
Browse files

fix getAllMetadata call

parent c853306f
Branches master
No related tags found
No related merge requests found
......@@ -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";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment