[LLVMbugs] [Bug 16596] New: Compilation crash with assertion "RTTI info cannot have top-level qualifiers"
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Jul 11 05:56:28 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=16596
Bug ID: 16596
Summary: Compilation crash with assertion "RTTI info cannot
have top-level qualifiers"
Product: clang
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: C++
Assignee: unassignedclangbugs at nondot.org
Reporter: devlists at shadowlab.org
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 10868
--> http://llvm.org/bugs/attachment.cgi?id=10868&action=edit
Test case and invocation.
Here is the stack trace:
Assertion failed: (!Ty.hasQualifiers() && "RTTI info cannot have top-level
qualifiers"), function mangleCXXRTTI, file
/Users/jddupas/Projects/llvm/llvm/tools/clang/lib/AST/ItaniumMangle.cpp, line
3692.
…
5 clang-3.4 0x000000010cad7681 __assert_rtn + 81
6 clang-3.4 0x000000010cc187d9 (anonymous
namespace)::ItaniumMangleContext::mangleCXXRTTI(clang::QualType,
llvm::raw_ostream&) + 265
7 clang-3.4 0x000000010cde5916 (anonymous
namespace)::RTTIBuilder::BuildTypeInfo(clang::QualType, bool) + 166
8 clang-3.4 0x000000010cde68f6 (anonymous
namespace)::RTTIBuilder::BuildTypeInfo(clang::QualType, bool) + 4230
9 clang-3.4 0x000000010cde57d1
clang::CodeGen::CodeGenModule::GetAddrOfRTTIDescriptor(clang::QualType, bool) +
209
10 clang-3.4 0x000000010cd8e4ff
clang::CodeGen::CodeGenFunction::EmitCXXTypeidExpr(clang::CXXTypeidExpr const*)
+ 79
The attachment contains 3 files:
cv.cpp: a reduced test case that depends on libc++ <functional>
cv.ii: a preprocessed version of the test case (produced by the clang crash
handler).
cv.sh: the compilation script (produced by the clang crash handler).
Trying to compile cv.cpp using the following command line makes clang crash:
clang++ -std=c++11 -stdlib=libc++ -c cv.cpp
--
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/20130711/2b5720cf/attachment.html>
More information about the llvm-bugs
mailing list