[LLVMbugs] [Bug 645] NEW: possible bug in -strip pass
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Mon Oct 31 05:22:44 PST 2005
http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=645
Summary: possible bug in -strip pass
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Transformation Utilities
AssignedTo: unassignedbugs at nondot.org
ReportedBy: markus at oberhumer.com
Please try the following with the attached unstripped.bc:
opt -strip -o stripped.bc unstripped.bc
llvm-dis stripped.bc
gccas stripped.ll
=> stripped.ll:4104: Reference to an invalid definition: #5 of type 'void () *'
The offending function now looks like this:
int %_Z20test_inline_funcdiffPFvvEPFjjE(void ()*, uint (uint)*) {
cast void ()* %5 to int ; <int>:0 [#uses=1]
cast uint (uint)* %2 to int ; <int>:1 [#uses=1]
sub int %0, %1 ; <int>:2 [#uses=1]
ret int %2
}
~Markus
------- 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