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: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to