Displaying 3 results from an estimated 3 matches for "enable_rtti".
Did you mean:
enable_rtcd
2010 Jan 28
2
[LLVMdev] RTTI Madness
Hi,
Lately LLVM has been adding -fno-rtti to 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...
2010 Jan 28
0
[LLVMdev] RTTI Madness
On Jan 28, 2010, at 12:45 PM, Thomas B. Jablin wrote:
> Hi,
> Lately LLVM has been adding -fno-rtti to 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...
2010 Jan 28
1
[LLVMdev] RTTI Madness
...> On Jan 28, 2010, at 12:45 PM, Thomas B. Jablin wrote:
>
>
>> Hi,
>> Lately LLVM has been adding -fno-rtti to 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
>>
>>...