[LLVMbugs] [Bug 13020] New: Clang 3.1 assertion failures reading and writing AST files
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sun Jun 3 19:06:27 PDT 2012
http://llvm.org/bugs/show_bug.cgi?id=13020
Bug #: 13020
Summary: Clang 3.1 assertion failures reading and writing AST
files
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: thonermann at coverity.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
I've been encountering assertion failures failures reading and
writing AST files with Clang 3.1. These failures replicate easily with test
code provided with the Clang source distribution.
To replicate:
$ clang --version
clang version 3.1 (branches/release_31)
Target: x86_64-unknown-linux-gnu
Thread model: posix
$ cd <clang-3.1.src>
$ clang -emit-ast test/SemaTemplate/instantiate-enum.cpp
clang: <llvm-3.1.src>/include/llvm/Bitcode/BitstreamWriter.h:396: void
llvm::BitstreamWriter::EmitRecordWithAbbrevImpl(unsigned int,
llvm::SmallVectorImpl<T>&, llvm::StringRef) [with uintty = long unsigned int]:
Assertion `RecordIdx == Vals.size() && "Not all record operands emitted!"'
failed.
$ clang -emit-ast test/SemaCXX/libstdcxx_is_pod_hack.cpp
$ clang -c libstdcxx_is_pod_hack.ast
clang:
<llvm-3.1.src>/tools/clang/lib/Serialization/../../include/clang/Basic/IdentifierTable.h:156:
void clang::IdentifierInfo::RevertTokenIDToIdentifier(): Assertion `TokenID !=
tok::identifier && "Already at tok::identifier"' failed.
--
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.
More information about the llvm-bugs
mailing list