Displaying 6 results from an estimated 6 matches for "_ztin4llvm8looppasse".
2010 Jan 28
2
[LLVMdev] RTTI Madness
...o most of the compiler. I have a pass which uses LoopPass and which inherits from FunctionPass and a class of my own. If I compile my code with ENABLE_RTTI=1, I can't dynamically load the shared object since it won't be able to find the symbol for LoopPass's typeinfo.
undefined symbol: _ZTIN4llvm8LoopPassE
$ c++filt _ZTIN4llvm8LoopPassE
typeinfo for llvm::LoopPass
Alternatively, if I compile with ENABLE_RTTI=1 then the virtual table for my FunctionPass will be messed up. FunctionPass comes from Pass.cpp in ./lib/VMCore which is built with ENABLE_RTTI=1. The difference in the size of the virtual tabl...
2012 Jul 23
1
[LLVMdev] llvm::LoopPass
Hi Edvard, _ZTIN4llvm8LoopPassE is "typeinfo for llvm::LoopPass". LLVM is
built without typeinfo, so you will need to build your pass with -fno-rtti.
Ciao, Duncan.
> I'm trying to implement LoopPass.
> Here is simple code :
>
> class LoopParser: public llvm::LoopPass
> {
> public:
>...
2010 Jan 28
0
[LLVMdev] RTTI Madness
...a pass which uses LoopPass and which inherits from FunctionPass
> and a class of my own. If I compile my code with ENABLE_RTTI=1, I
> can't dynamically load the shared object since it won't be able to
> find the symbol for LoopPass's typeinfo.
>
> undefined symbol: _ZTIN4llvm8LoopPassE
> $ c++filt _ZTIN4llvm8LoopPassE
> typeinfo for llvm::LoopPass
>
> Alternatively, if I compile with ENABLE_RTTI=1 then the virtual
> table for my FunctionPass will be messed up. FunctionPass comes from
> Pass.cpp in ./lib/VMCore which is built with ENABLE_RTTI=1. The
> di...
2010 Jan 28
1
[LLVMdev] RTTI Madness
...oopPass and which inherits from FunctionPass
>> and a class of my own. If I compile my code with ENABLE_RTTI=1, I
>> can't dynamically load the shared object since it won't be able to
>> find the symbol for LoopPass's typeinfo.
>>
>> undefined symbol: _ZTIN4llvm8LoopPassE
>> $ c++filt _ZTIN4llvm8LoopPassE
>> typeinfo for llvm::LoopPass
>>
>> Alternatively, if I compile with ENABLE_RTTI=1 then the virtual
>> table for my FunctionPass will be messed up. FunctionPass comes from
>> Pass.cpp in ./lib/VMCore which is built with ENAB...
2012 Jul 23
0
[LLVMdev] llvm::LoopPass
...ager& LPM_Ref)
{ return false; }
LoopParser() : llvmLoopPass(ID)
{}
};
char LoopParser::ID = 0;
static llvm::RegisterPass<LoopParser> XX("LoopParser", "TODO ", false, false);
when I'am trying to load a get the error message : undefined symbol: _ZTIN4llvm8LoopPassE
How can I fix?
Thanks in advance,
Edvard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120722/d3f19e4c/attachment.html>
2012 Jul 13
4
[LLVMdev] adding new data types to llvm
Hello .
I would like to add new custom data type to llvm C parser, I use LLVM/Clang version 3.1.
Adding new type instructions from llvm.org site are out of date (http://llvm.org/docs/ExtendingLLVM.html#type).
Could you please provide me with guidance?
Thanks in advance,
Edvard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: