[LLVMbugs] [Bug 6810] New: Crash on invalid in LLVM IR parser
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Apr 9 15:05:39 PDT 2010
http://llvm.org/bugs/show_bug.cgi?id=6810
Summary: Crash on invalid in LLVM IR parser
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: sharparrow1 at yahoo.com
CC: llvmbugs at cs.uiuc.edu
Testcase:
%0 = = type { i32, float, float, double }
Crashes with:
llc: LLParser.cpp:325: bool llvm::LLParser::ParseUnnamedType(): Assertion
`Lex.getKind() == lltok::kw_type' failed.
0 llc 0x0000000000ce263f
1 llc 0x0000000000ce30ca
2 libpthread.so.0 0x00007f32d5bab190
3 libc.so.6 0x00007f32d4eb14b5 gsignal + 53
4 libc.so.6 0x00007f32d4eb4f50 abort + 384
5 libc.so.6 0x00007f32d4eaa481 __assert_fail + 241
6 llc 0x000000000056a3fb llvm::LLParser::ParseUnnamedType() + 1051
7 llc 0x0000000000578658 llvm::LLParser::ParseTopLevelEntities() +
264
8 llc 0x0000000000578a68 llvm::LLParser::Run() + 24
9 llc 0x000000000055cc11 llvm::ParseAssembly(llvm::MemoryBuffer*,
llvm::Module*, llvm::SMDiagnostic&, llvm::LLVMContext&) + 1617
10 llc 0x0000000000559965 main + 437
11 libc.so.6 0x00007f32d4e9cabd __libc_start_main + 253
12 llc 0x0000000000558319
Stack dump:
0. Program arguments: /home/eli/llvmgbuild/Release/bin/llc
Aborted
--
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