[lldb-dev] [Bug 24691] New: Assertion failure in clang in TestFormatters.py

via lldb-dev lldb-dev at lists.llvm.org
Thu Sep 3 06:39:30 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=24691

            Bug ID: 24691
           Summary: Assertion failure in clang in TestFormatters.py
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at lists.llvm.org
          Reporter: labath at google.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

We hit a clang assertion in TestFormatters (I'm not sure why it happens only on
android). Clang asserts in clang::SourceManager::getFileCharacteristic, when it
tries to examine the SourceLocation of the declaration of 'operator new'. The
problem here is that when lldb injects the declaration into the clang's
ASTContext, it deliberately creates it with an empty SourceLocation (because it
does not have source information, see NamedSearchContext::AddFunDecl).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20150903/a9fd0da0/attachment.html>


More information about the lldb-dev mailing list