http://llvm.org/bugs/show_bug.cgi?id=6740
Summary: ast-print-xml: clang: DocumentXML.cpp:51:
clang::DocumentXML& clang::DocumentXML::toParent():
Assertion `NodeStack.size() > 1 && "too much
backtracking"' failed
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
In DocumentXML::finalize, during the loop over BasicTypes, some types (it
appears that these are all duplicates) fail to print, and so the toParent()
prematurely closes the <Types> and potentially the <ReferenceSection> tags, and
so causes an assert in the final toParents.
To reproduce: (with 2.7-pre1)
clang -cc1 -ast-print-xml tools/clang/test/Coverage/ast-printing.cpp
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs