[LLVMbugs] [Bug 17982] New: incompatible bitcode files due to debug info changes

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Nov 18 09:47:39 PST 2013


http://llvm.org/bugs/show_bug.cgi?id=17982

            Bug ID: 17982
           Summary: incompatible bitcode files due to debug info changes
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: DebugInfo
          Assignee: unassignedbugs at nondot.org
          Reporter: bob.wilson at apple.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Sometime over the last year, and I'm fairly certain it has been since we
released 3.3, the debug info metadata format has changed in incompatible ways. 
If you try to use an older bit code file with the current compiler, it is not
uncommon for the compiler to crash.  This goes against our goals for keeping
backward compatibility for bit code files and is especially problematic for LTO
since you can't reliably mix objects from different versions of clang.

At a minimum, it seems like we need a version number in the debug info metadata
so we can detect this situation and avoid crashing.

I don't have a test case but we should be able to come up with one if needed.

-- 
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/20131118/1efbde27/attachment.html>


More information about the llvm-bugs mailing list