<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<blockquote type="cite"
cite="mid:1612815000.3252589.1568825759643@mail.yahoo.com">
<div id="yahoo_quoted_9469010984" class="yahoo_quoted">
<div style="font-size: 13px; color: rgb(38, 40, 42);">
<div>
<div dir="ltr"><tt>opt -load libdummypass.so -dummypass
hello.ll</tt><tt><br>
</tt></div>
</div>
</div>
</div>
</blockquote>
<tt><br>
</tt><tt>
</tt>
<p><tt>Looks like you are loading a shared library different from
"LLVMHello.so".</tt></p>
<p><tt>did you change the name of the compilation unit from
"Hello.cpp" into</tt><tt><br>
</tt><tt>"dummypass.cpp"?</tt><tt><br>
</tt></p>
<p><tt><br>
</tt></p>
<p><tt>(As asked previously by Andrzej) did you register the dummy
pass?</tt></p>
<p><tt>> RegisterPass<DummyPass> X("dummypass",
"whatever");</tt></p>
<p><tt><br>
</tt></p>
<p><tt>Is any error/warning triggered when loading the library,
executing "opt" or</tt><tt><br>
</tt><tt>during compilation?</tt><tt><br>
</tt></p>
<p><tt><br>
</tt></p>
<p><tt>Could you attach the fragment containing the "DummyPass"?</tt><br>
</p>
<p><br>
</p>
<p><tt>Lorenzo</tt><br>
</p>
</body>
</html>