[LLVMbugs] [Bug 365] NEW: [asmwriter] Asm writer segfaults if an instruction is not embedded into a function
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Tue Jun 8 21:39:46 PDT 2004
http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=365
Summary: [asmwriter] Asm writer segfaults if an instruction is
not embedded into a function
Product: libraries
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Core LLVM classes
AssignedTo: rspencer at x10sys.com
ReportedBy: sabre at nondot.org
As mentioned in the summary. This is not good, this severely impacts debugability.
It would be fine to print "badref" or something when a reference can't be
resolved due to the instruction not being in an function, but it should not
segfault. To reproduce, run 'opt -instcombine -debug foo.bc' on something that
instruction combining combines.
This is a regression from LLVM 1.2.
-Chris
------- 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