[LLVMdev] 'opt' command Errors.
Duncan Sands
baldrick at free.fr
Mon Sep 13 02:02:20 PDT 2010
Hi Rohith,
> Then i changed my Makefile to include the libaries : LLVMSystem.a,
> LLVMSupport.a, LLVMCore.a.
> Now the 'opt' command breaks witht he following error : " Two passes with the
> same argument (-domtree) attempted to be registered!
usually this means that you have linked in a library twice, causing pass
constructors to be run twice. Typically this is because you linked with
both a dynamic and a static LLVM library, each of which contained code
for the pass.
Ciao,
Duncan.
More information about the llvm-dev
mailing list