<div dir="ltr"><div> </div>
<div>I have just started using llvn and I am running in the following error when trying to run Hello World Pass in the llvm documentation.</div>
<div>opt: /usr/local/llvm/src/lib/VMCore/Pass.cpp:158: void<br><unnamed>::PassRegistrar::RegisterPass(llvm::PassInfo&): Assertion `Inserted && "Pass<br>registered multiple times!"' failed.</div>
<div> </div>
<div> The problem gets resolved if the Hello.so library is not created, but then the pass doesnt get registered and its losing out the whole point. I came across a solution posted under the same error message which stated that anything linked from LLVm to Hello.so can cause this problem. I quite didn't understand what it meant. </div>
<div>Please let me know what I can do?</div>
<div> </div>
<div>Thanks in advance</div>
<div>SHWETA</div>
<div> </div>
<div> </div></div>