[LLVMbugs] [Bug 12391] New: tablegen stack traces on simple lexical error
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Mar 28 15:15:48 PDT 2012
http://llvm.org/bugs/show_bug.cgi?id=12391
Bug #: 12391
Summary: tablegen stack traces on simple lexical error
Product: tools
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: TableGen
AssignedTo: unassignedbugs at nondot.org
ReportedBy: rkotler at mips.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
meant to type "class1"
ubuntu-rkotler:~/workspace/alt-llvm-tablegen/europe2012> cat bug1.td
def class 1 {
int i = 1;
}
ubuntu-rkotler:~/workspace/alt-llvm-tablegen/europe2012>
/home/rkotler/build_llvm/build/Debug+Asserts/bin/llvm-tblgen bug1.td
bug1.td:1:5: error: Unknown token when parsing a value
def class 1 {
^
llvm-tblgen: /home/rkotler/workspace/llvm/lib/TableGen/Record.cpp:1699: void
llvm::Record::checkName(): Assertion `TypedName && "Record name is not typed!"'
failed.
0 llvm-tblgen 0x00000000005bb8f1
1 llvm-tblgen 0x00000000005bb6e4
2 libpthread.so.0 0x00007fde552258f0
3 libc.so.6 0x00007fde54514a75 gsignal + 53
4 libc.so.6 0x00007fde545185c0 abort + 384
5 libc.so.6 0x00007fde5450d941 __assert_fail + 241
6 llvm-tblgen 0x0000000000560a95
7 llvm-tblgen 0x0000000000560977
8 llvm-tblgen 0x0000000000582f91
9 llvm-tblgen 0x000000000057f8df
10 llvm-tblgen 0x0000000000582db4
11 llvm-tblgen 0x0000000000582e21
12 llvm-tblgen 0x0000000000582e73
13 llvm-tblgen 0x00000000005538ae
14 llvm-tblgen 0x0000000000545792
15 libc.so.6 0x00007fde544ffc4d __libc_start_main + 253
16 llvm-tblgen 0x0000000000406f89
Stack dump:
0. Program arguments:
/home/rkotler/build_llvm/build/Debug+Asserts/bin/llvm-tblgen bug1.td
--
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