[LLVMbugs] [Bug 1878] New: opt -std-compile-opts drops

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Dec 24 09:13:52 PST 2007


           Summary: opt -std-compile-opts drops
           Product: libraries
           Version: trunk
          Platform: All
        OS/Version: All
            Status: ASSIGNED
          Severity: enhancement
          Priority: P2
         Component: Core LLVM classes
        AssignedTo: gordonhenriksen at mac.com
        ReportedBy: gordonhenriksen at mac.com
                CC: llvmbugs at cs.uiuc.edu

Armin Rigo reports from the PyPy project:

> Here is what appears to be another bug of 'opt': the "gc" annotation is 
> sometimes lost, or so it seems.  With the following input (140k gzip):
>  http://wyvern.cs.uni-duesseldorf.de/~arigo/new_entrypoint.ll.gz
> and the following command:
>  llvm-as < new_entrypoint.ll | opt -std-compile-opts > new_entrypoint.bc
> then llvm-dis shows that in the .bc file, the function 
> @pypy_SemiSpaceGC_malloc_varsize_clear has lost its gc "gcrootsingle" 
> attribute.

I'll need to do some further investigation to reduce the input and discover
which pass is at fault.

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