[llvm-bugs] [Bug 24691] New: Assertion failure in clang in TestFormatters.py
via llvm-bugs
llvm-bugs 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 on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150903/b39cc090/attachment.html>
More information about the llvm-bugs
mailing list