[LLVMbugs] [Bug 391] NEW: lli Doesn't Handle Exceptions From Bytecode Reader
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Tue Jun 29 13:49:36 PDT 2004
http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=391
Summary: lli Doesn't Handle Exceptions From Bytecode Reader
Product: tools
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: lli
AssignedTo: unassignedbugs at nondot.org
ReportedBy: rspencer at x10sys.com
While testing my bytecode reader changes, I ran the regression tests and all
the tests involving lli failed. The reason was that the bytecode reader was
throwing an exception that lli was not handling so an abort occurred as the
result of unhandled_exception(). While the bytecode reader was erroneously
throwing exceptions, it is not inconceivable that it could do so. A disk I/O
error could cause a mis-read which would almost certainly cause it to fail.
The exception thrown contains a std::string& that has the error message.
lli should be improved to catch std::string& from bytecode reader and
terminate gracefully with the error message.
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the llvm-bugs
mailing list