[LLVMdev] Undefined symbol when calling recalculate method on DominatorTreeBase

Juan Manuel Martinez CaamaƱo jmartinezcaamao at gmail.com
Mon Oct 29 07:53:02 PDT 2012


Hi,

I'm working on moving a llvm pass from llvm 2.8 to llvm 3.1, and I'm
getting this runtime error:

opt: symbol lookup error:
/......./llvm/Release+Asserts/lib/InstrLLVM_VM_multi.so: undefined symbol:
_ZN4llvm17DominatorTreeBaseINS_10BasicBlockEE5resetEv

The error happens when calling the next function:

    void rebuildDT(DominatorTree* DT, Function *parFunc) {
        DT->getBase().recalculate(*parFunc);
    }

All the code executes normally until the first call to this function, when
the *recalculate* method calls the protected method *reset*.


Any ideas on how to solve this problem ?

Thanks,

Juan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121029/c9eab2f6/attachment.html>


More information about the llvm-dev mailing list