Displaying 2 results from an estimated 2 matches for "8ef7faeb".
2015 Sep 27
2
Registering a MachineFunctionPass
Dear all,
I wrote a machine function pass to run with llc. But I get this error while building:
"/home/erdem/llvm/lib/CodeGen/CodeGen.cpp:80: error: undefined reference to 'llvm::initializeNoopInserterPass(llvm::PassRegistry&)'"
NoopInserter is the name of my pass. I already added this line to InitializePasses.h: "void
2015 Sep 28
2
Registering a MachineFunctionPass
....h, and Codegen.cpp files to register my pass, right? Another question is: Is it necessary to have the createNoopInserterPass function?
Erdem
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150928/8ef7faeb/attachment.html>