[LLVMbugs] [Bug 15637] New: Regression: Assertion failed: ((!TParams || DbgNode->getNumOperands() == 14) && "If you're setting the template parameters this should include a slot " "for that!"), function setTypeArray, file DebugInfo.cpp, line 623.
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Apr 1 12:36:41 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=15637
Bug ID: 15637
Summary: Regression: Assertion failed: ((!TParams ||
DbgNode->getNumOperands() == 14) && "If you're setting
the template parameters this should include a slot "
"for that!"), function setTypeArray, file
DebugInfo.cpp, line 623.
Product: clang
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: LLVM Codegen
Assignee: unassignedclangbugs at nondot.org
Reporter: nicolasweber at gmx.de
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
This is reduced from code in WebKit:
thakis$ cat repro.ii
template <typename T> union Value { int a; };
void g(float value) {
Value<float> tempValue;
}
thakis$ ~/src/llvm-svn/Release+Asserts/bin/clang -cc1 -triple
i386-apple-macosx10.6.0 -emit-obj -g -x c++ repro.ii
Assertion failed: ((!TParams || DbgNode->getNumOperands() == 14) && "If you're
setting the template parameters this should include a slot " "for that!"),
function setTypeArray, file DebugInfo.cpp, line 623.
0 clang 0x000000010b58cbf8 llvm::sys::PrintStackTrace(__sFILE*) +
40
1 clang 0x000000010b58d154 SignalHandler(int) + 548
2 libsystem_c.dylib 0x00007fff87fa194a _sigtramp + 26
3 clang 0x000000010b4b844c llvm::DIDescriptor::isCompositeType()
const + 28
4 clang 0x000000010b58cf16 abort + 22
5 clang 0x000000010b58cef1 __assert_rtn + 81
6 clang 0x000000010b4b9846
llvm::DICompositeType::setTypeArray(llvm::DIArray, llvm::DIArray) + 278
7 clang 0x0000000109f746e4
clang::CodeGen::CGDebugInfo::CreateType(clang::RecordType const*) + 1268
This is at r178474 (which was current trunk when I started delta an hour or so
ago). Doesn't happen at r178178.
--
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/20130401/b1b1e4af/attachment.html>
More information about the llvm-bugs
mailing list