[lldb-dev] IOHandler branch has been merged into top of tree

Greg Clayton gclayton at apple.com
Wed Jan 29 09:37:43 PST 2014


RTTI is disabled in all the llvm/clang/lldb builds. When something is looking for typeinfo, it tends to mean some file was compiled thinking RTTI was enabled.

On Jan 29, 2014, at 8:31 AM, Abid, Hafiz <Hafiz_Abid at mentor.com> wrote:

> I am getting these error when building with cmake. Autoconf seems ok. Any idea what can be the problem?
> 
> ../../../../lib/liblldb.so.3.5: undefined reference to `typeinfo for llvm::ModulePass'
> ../../../../lib/liblldb.so.3.5: undefined reference to `typeinfo for clang::ExternalASTSource'
> ../../../../lib/liblldb.so.3.5: undefined reference to `typeinfo for llvm::JITMemoryManager'
> ../../../../lib/liblldb.so.3.5: undefined reference to `typeinfo for clang::ASTImporter'
> ../../../../lib/liblldb.so.3.5: undefined reference to `typeinfo for clang::DiagnosticConsumer'
> ../../../../lib/liblldb.so.3.5: undefined reference to `typeinfo for llvm::MemoryObject'
> ../../../../lib/liblldb.so.3.5: undefined reference to `typeinfo for clang::SemaConsumer'
> 
> Regards,
> Abid
> 
>> -----Original Message-----
>> From: lldb-dev-bounces at cs.uiuc.edu [mailto:lldb-dev-bounces at cs.uiuc.edu]
>> On Behalf Of Greg Clayton
>> Sent: 27 January 2014 23:51
>> To: lldb-dev at cs.uiuc.edu
>> Subject: [lldb-dev] IOHandler branch has been merged into top of tree
>> 
>> We will need everyone to make sure their buildbots are ok and get any
>> issues fixed. This is the one and only time the input/output and error
>> streams will be changed in this drastic of a way. The benefits are many:
>> 
>> 1 - Input/Output/Error streams are now handled as real streams not a push
>> style input
>> 2 - auto completion in python embedded interpreter
>> 3 - multi-line input for "script" and "expression" commands now allow you
>> to edit previous/next lines using up and down arrow keys and this makes
>> multi-line input actually a viable thing to use
>> 4 - it is now possible to use curses to drive LLDB (please try the "gui"
>> command)
>> 
>> We will need to deal with and fix any buildbot failures and tests and arise
>> now that input/output and error are correctly hooked up in all cases.
>> 
>> Greg Clayton
>> 
>> _______________________________________________
>> lldb-dev mailing list
>> lldb-dev at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev




More information about the lldb-dev mailing list