[lldb-dev] [Bug 13889] New: The name '__lambda' causes assertion failures for some versions of GCC

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Sep 20 10:46:21 PDT 2012


http://llvm.org/bugs/show_bug.cgi?id=13889

             Bug #: 13889
           Summary: The name '__lambda' causes assertion failures for some
                    versions of GCC
           Product: lldb
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
        AssignedTo: lldb-dev at cs.uiuc.edu
        ReportedBy: jordan_rose at apple.com
    Classification: Unclassified


cxa_demangle.cpp has a class named '__lambda'. Some versions of GCC choke on
this name when compiling with -std=c++0x, claiming (arguably correctly) that it
is reserved. There are a couple GCC bugs about it; while the latest GCC
apparently doesn't crash here, some are marked NTBF.

This was found because LLDB copied cxa_demangle.cpp; you can see the failure on
the LLDB buildbot at
http://lab.llvm.org:8011/builders/lldb-x86_64-linux/builds/1697. (More recent
builds may have other problems that cause the build to fail before reaching
this file.)

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the lldb-dev mailing list