Displaying 6 results from an estimated 6 matches for "runonpass".
Did you mean:
run_pass
2013 May 01
1
[LLVMdev] undefined symbol for LoopPass
Hello,
I am building a loop pass following these instructions:
http://llvm.org/docs/WritingAnLLVMPass.html
Everything works fine, I did it many times for Function Passes, but in the
runOnPass method, whenever I call a method of the loop L passed as
argument, for example L->begin(), I get the following error:
opt: symbol lookup error: /home/giacomo/llvmcsfv/Debug+Asserts/lib/Acsl.so:
> undefined symbol: _ZNK4llvm8LoopBaseINS_10BasicBlockENS_4LoopEE5beginEv
Where Acsl is the name...
2013 May 09
2
[LLVMdev] LoopPass symbol error
...ent,
for example L->begin(), I get the following error:
opt: symbol lookup error: /home/giacomo/llvmcsfv/Debug+Asserts/lib/Acsl.so:
> undefined symbol: _ZNK4llvm8LoopBaseINS_10BasicBlockENS_4LoopEE5beginEv
Where Acsl is the name of the loadable module. If I remove all the
instructions from runOnPass but a debug print, it works fine (it prints
it), so the problem is not the module.
Does anybody have any Idea?
Thank you very much,
Giacomo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130508/6a5ed68d/atta...
2013 May 09
2
[LLVMdev] LoopPass symbol error
...e following error:
>
> opt: symbol lookup error:
>> /home/giacomo/llvmcsfv/Debug+Asserts/lib/Acsl.so: undefined symbol:
>> _ZNK4llvm8LoopBaseINS_10BasicBlockENS_4LoopEE5beginEv
>
>
> Where Acsl is the name of the loadable module. If I remove all the
> instructions from runOnPass but a debug print, it works fine (it prints
> it), so the problem is not the module.
> Does anybody have any Idea?
> Thank you very much,
> Giacomo
>
>
> I'm not sure why your dynamic linker looks in Acsl.so.
> llvm::LoopBase<llvm::BasicBlock, llvm::Loop>::begin()...
2013 May 09
0
[LLVMdev] LoopPass symbol error
...le L->begin(), I get the following error:
>
> opt: symbol lookup error: /home/giacomo/llvmcsfv/Debug+Asserts/lib/Acsl.so: undefined symbol: _ZNK4llvm8LoopBaseINS_10BasicBlockENS_4LoopEE5beginEv
>
> Where Acsl is the name of the loadable module. If I remove all the instructions from runOnPass but a debug print, it works fine (it prints it), so the problem is not the module.
> Does anybody have any Idea?
> Thank you very much,
> Giacomo
I'm not sure why your dynamic linker looks in Acsl.so. llvm::LoopBase<llvm::BasicBlock, llvm::Loop>::begin() is explicitly instantiat...
2013 May 09
0
[LLVMdev] LoopPass symbol error
...> opt: symbol lookup error:
>>> /home/giacomo/llvmcsfv/Debug+Asserts/lib/Acsl.so: undefined symbol:
>>> _ZNK4llvm8LoopBaseINS_10BasicBlockENS_4LoopEE5beginEv
>>
>>
>> Where Acsl is the name of the loadable module. If I remove all the
>> instructions from runOnPass but a debug print, it works fine (it prints
>> it), so the problem is not the module.
>> Does anybody have any Idea?
>> Thank you very much,
>> Giacomo
>>
>>
>> I'm not sure why your dynamic linker looks in Acsl.so.
>> llvm::LoopBase<llvm::Basi...
2013 May 08
0
[LLVMdev] undefined symbol for LoopPass
...ent,
for example L->begin(), I get the following error:
opt: symbol lookup error: /home/giacomo/llvmcsfv/Debug+Asserts/lib/Acsl.so:
> undefined symbol: _ZNK4llvm8LoopBaseINS_10BasicBlockENS_4LoopEE5beginEv
Where Acsl is the name of the loadable module. If I remove all the
instructions from runOnPass but a debug print, it works fine (it prints
it), so the problem is not the module.
Does anybody have any Idea?
Thank you very much,
Giacomo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130508/145ea57c/atta...