http://llvm.org/bugs/show_bug.cgi?id=15188

            Bug ID: 15188
           Summary: llvm-tblgen is crashing when generating intrinsics
                    table for an empty vector of intrinsics
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

Created attachment 9974
  --> http://llvm.org/bugs/attachment.cgi?id=9974&action=edit
files for llvm-tblgen to test with

Please take your favourite version of llvm-tblgen and use it in the root
directory of the attached archive:

$ ./llvm-tblgen -gen-tgt-intrinsic NVPTX1.td

assert(iid <= Intrinsic::0  llvm-tblgen     0x00000000005c56b6
1  llvm-tblgen     0x00000000005c54b2
2  libpthread.so.0 0x00007fc734644a10
3  libstdc++.so.6  0x00007fc7345bba5e std::string::_M_data() const + 12
4  libstdc++.so.6  0x00007fc7345bba9c std::string::_M_rep() const + 24
5  libstdc++.so.6  0x00007fc7345bba4c std::string::length() const + 24
6  llvm-tblgen     0x000000000042507f
7  llvm-tblgen     0x000000000051efd9
8  llvm-tblgen     0x000000000051be22
9  llvm-tblgen     0x000000000054f4f9
10 llvm-tblgen     0x000000000055ce65
11 llvm-tblgen     0x000000000054fb50
12 libc.so.6       0x00007fc73426ca76 __libc_start_main + 370
13 llvm-tblgen     0x00000000004071f9
Stack dump:
0.    Program arguments: ./llvm-tblgen -gen-tgt-intrinsic NVPTX1.td
Segmentation fault (core dumped)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to