[LLVMbugs] [Bug 4207] New: TableGen Cannot Slice List Arguments
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Tue May 12 15:51:17 PDT 2009
http://llvm.org/bugs/show_bug.cgi?id=4207
Summary: TableGen Cannot Slice List Arguments
Product: tools
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: TableGen
AssignedTo: unassignedbugs at nondot.org
ReportedBy: greened at obbligato.org
CC: llvmbugs at cs.uiuc.edu
The attached seemingly trivial testcase crashes TableGen with:
tblgen:
/ptmp/dag/llvm-project.modified/llvm/trunk/utils/TableGen/Record.cpp:642:
virtual llvm::Init* llvm::VarInit::resolveListElementReference(llvm::Record&,
const llvm::RecordVal*, unsigned int): Assertion `LI && "Invalid list
element!"' failed.
The problem appears to be that 'vals' is a VarInit in the BB context.
Taking out one layer of classes (e. g. having One and Two derive from BB) AND
commenting out the definition of BBB makes the problem go away. Strangely,
leaving BBB defined causes the same crash even though it is referenced nowhere
and does not take any slices.
--
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