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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
lldb-dev mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev

Reply via email to