[llvm-dev] Registering a MachineFunctionPass
Yaron Keren via llvm-dev
llvm-dev at lists.llvm.org
Mon Sep 28 07:59:09 PDT 2015
Stupid question, was the source file added to CMakeLists.txt?
2015-09-28 15:10 GMT+03:00 Erdem Derebaşoğlu <erdemderebasoglu at hotmail.com>:
> I had INITIALIZE_PASS_BEGIN and INITIALIZE_PASS_END macros. I replaced
> them with INITIALIZE_PASS but I get the same error. If I understand
> correctly, I need to modify Passes.h, InitializePasses.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/d537f06a/attachment.html>
More information about the llvm-dev
mailing list