[LLVMbugs] [Bug 23045] New: Dropping old debug metadata requires reading all function bodies upfront

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Mar 27 08:45:35 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=23045

            Bug ID: 23045
           Summary: Dropping old debug metadata requires reading all
                    function bodies upfront
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Bitcode Reader
          Assignee: unassignedbugs at nondot.org
          Reporter: rafael.espindola at gmail.com
                CC: dexonsmith at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

UpgradeDebugInfo will drop all the old debug info it can see.

Unfortunately, if the module is being lazily loaded, it will miss stuff from
the function bodies.

When the bodies are finally read, the module becomes invalid.

This manifests as a crash in ~/llvm/llvm/test/tools/gold/drop-debug.ll

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150327/c2e3bc1d/attachment.html>


More information about the llvm-bugs mailing list