#include "llvm/Pass.h"
#include "llvm/IR/Function.h"
#include "llvm/Support/raw_ostream.h"

using namespace llvm;

namespace {
		struct SG12345 : public FunctionPass {
				static char ID;

				SG12345() : FunctionPass(ID) {}

				bool runOnFunction(Function &F) override {
				errs() << "SG12345: ";
				errs().write_escaped(F.getName()) << '\n';
				return false;
				}
		}; // end of struct SG12345
}  // end of anonymous namespace

char SG12345::ID = 0;

static RegisterPass<SG12345> X("SG12345", "SG12345 Pass",
							 false /* Only looks at CFG */,
							 false /* Analysis Pass */);
