<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Yes.<br><br><div><hr id="stopSpelling">From: yaron.keren@gmail.com<br>Date: Mon, 28 Sep 2015 17:59:09 +0300<br>Subject: Re: [llvm-dev] Registering a MachineFunctionPass<br>To: erdemderebasoglu@hotmail.com<br>CC: llvm-dev@lists.llvm.org<br><br><div dir="rtl"><div dir="ltr">Stupid question, was the source file added to CMakeLists.txt?</div><div dir="ltr"><br></div></div><div class="ecxgmail_extra"><br><div class="ecxgmail_quote"><div dir="ltr">2015-09-28 15:10 GMT+03:00 Erdem Derebažošlu <span dir="ltr"><<a href="mailto:erdemderebasoglu@hotmail.com" target="_blank">erdemderebasoglu@hotmail.com</a>></span>:</div><blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex;">


<div><div dir="ltr"><div><div>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?</div></div><span class="ecxHOEnZb"><font color="#888888"><div><br></div><div>Erdem</div>                                       </font></span></div></div>
</blockquote></div><br></div></div>                                         </div></body>
</html>