[LLVMdev] bit code file incompatibility due to debug info changes
Eric Christopher
echristo at gmail.com
Mon Nov 18 10:35:22 PST 2013
>>
>> 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.
>
>
> Or to put it in the terms of the IR: we need to autoupgrade the debug info
> metadata just like we do intrinsics. With debug info this might (at the
> worst) involve dropping old metadata.
>
The verifier is probably the best route here. I think if we fail debug
info verification we can just strip it and continue.
-eric
>>
>>
>> I don't have a test case but we should be able to come up with one if
>> needed.
>
>
> I think doing so would be useful.
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
More information about the llvm-dev
mailing list