[LLVMbugs] [Bug 8745] New: [mc] Try and reenable the inst to data lowering optimization

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Dec 6 11:17:12 PST 2010


           Summary: [mc] Try and reenable the inst to data lowering
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Common Code Generator Code
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: rafael.espindola at gmail.com
                CC: llvmbugs at cs.uiuc.edu

The Inst to Data lowering was causing reads after free since we deleted the old
inst fragment, but symbols would still point to it.

It has been disable for now, but it could be reenabled if each fragment knew
its symbols. That way we would be able to move the symbols to the new fragment.
We would also be able to do this during layout instead of after it.

Yet another way to do it is make sure that symbols never point to instruction
fragments by creating dummy data fragments when necessary.

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