[Lldb-commits] [lldb] r270488 - We have many radars showing that stepping through C++ code can result in slow steps.

Ed Maste via lldb-commits lldb-commits at lists.llvm.org
Tue May 24 11:11:54 PDT 2016


On 23 May 2016 at 16:37, Greg Clayton via lldb-commits
<lldb-commits at lists.llvm.org> wrote:
> Author: gclayton
> Date: Mon May 23 15:37:24 2016
> New Revision: 270488
>
> URL: http://llvm.org/viewvc/llvm-project?rev=270488&view=rev
> Log:
> We have many radars showing that stepping through C++ code can result in slow steps.

This broke the build on FreeBSD 10 (Clang 3.4.1):

In file included from
../tools/lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.cpp:10:
In file included from
../tools/lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.h:15:
In file included from /usr/include/c++/v1/map:423:
In file included from /usr/include/c++/v1/__tree:16:
In file included from /usr/include/c++/v1/memory:602:
/usr/include/c++/v1/utility:254:9: error: field has incomplete type
'lldb_private::TypeAndOrName'
    _T2 second;
        ^
/usr/include/c++/v1/type_traits:2370:27: note: in instantiation of
template class 'std::__1::pair<const lldb_private::Address,
lldb_private::TypeAndOrName>' requested here
                 decltype(__is_constructible_test(declval<_Tp>(),
declval<_Args>()...))
                          ^
/usr/include/c++/v1/type_traits:2419:14: note: in instantiation of
template class 'std::__1::__libcpp_is_constructible<false,
std::__1::allocator<std::__1::pair<const lldb_private::Address,
lldb_private::TypeAndOrName> >>' requested here
    : public __libcpp_is_constructible<is_scalar<_Tp>::value ||
is_reference<_Tp>::value,
             ^
/usr/include/c++/v1/type_traits:2445:14: note: in instantiation of
template class 'std::__1::__is_constructible_void_check<false,
std::__1::allocator<std::__1::pair<const lldb_private::Address,
lldb_private::TypeAndOrName> >>' requested here
    : public __is_constructible_void_check<__contains_void<_Tp, _Args...>::value
             ^
/usr/include/c++/v1/type_traits:2936:41: note: in instantiation of
template class 'std::__1::is_constructible<std::__1::allocator<std::__1::pair<const
lldb_private::Address, lldb_private::TypeAndOrName> >>' requested here
    : __libcpp_is_nothrow_constructible<is_constructible<_Tp,
_Args...>::value, is_reference<_Tp>::value, _Tp, _Args...>
                                        ^
/usr/include/c++/v1/type_traits:3059:14: note: in instantiation of
template class 'std::__1::is_nothrow_constructible<std::__1::allocator<std::__1::pair<const
lldb_private::Address, lldb_private::TypeAndOrName> >>' requested here
    : public is_nothrow_constructible<_Tp>
             ^
/usr/include/c++/v1/map:840:13: note: in instantiation of template
class 'std::__1::is_nothrow_default_constructible<std::__1::allocator<std::__1::pair<const
lldb_private::Address, lldb_private::TypeAndOrName> > >' requested
here
            is_nothrow_default_constructible<allocator_type>::value &&
            ^
/usr/include/c++/v1/__config:349:34: note: expanded from macro '_NOEXCEPT_'
#  define _NOEXCEPT_(x) noexcept(x)
                                 ^
../tools/lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.h:111:15:
note: in instantiation of exception specification for 'map' requested
here
              m_dynamic_type_map(),
              ^
../tools/lldb/include/lldb/lldb-forward.h:258:9: note: forward
declaration of 'lldb_private::TypeAndOrName'
class   TypeAndOrName;
        ^


More information about the lldb-commits mailing list