Skip to content
Snippets Groups Projects
Commit ba972179 authored by Adrian Sampson's avatar Adrian Sampson
Browse files

Friendlier

parent ecc99065
No related branches found
No related tags found
No related merge requests found
......@@ -11,8 +11,7 @@ namespace {
SkeletonPass() : FunctionPass(ID) {}
virtual bool runOnFunction(Function &F) {
errs() << "Hello: ";
errs().write_escaped(F.getName()) << '\n';
errs() << "I saw a function called " << F.getName() << "!\n";
return false;
}
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment