[lldb-dev] std::shared_ptr, RTTI, and LLDB
eli.friedman at gmail.com
Wed Jun 9 15:44:32 PDT 2010
Currently, LLDB uses std::shared_ptr. With gcc (or at least gcc 4.4),
that means RTTI must be enabled. However, LLVM and clang build with
RTTI disabled (at least by default), so an RTTI-enabled LLDB won't
link. So I have two questions:
1. How difficult would it be to stop using shared_ptr?
2. Does the LLVM build in llvm.zip have RTTI enabled? If so, how do
you build LLVM that way?
More information about the lldb-dev