[PATCH] Add a DWOId field to DICompileUnit (so DWARF skeleton CUs can be expression in IR).

David Blaikie dblaikie at gmail.com
Mon May 4 16:05:52 PDT 2015


On Mon, May 4, 2015 at 4:01 PM, Eric Christopher <echristo at gmail.com> wrote:

> You can use llvm-as %s -o - | llvm-dis | FileCheck or something similar.
>

Doesn't actually test the upgrading, since the assembler will produce
current bitcode, not the old stuff that needs upgrading.

For all the autoupgrade support for bitcode changes I've been making I've
just checked in old bitcode.


>
>
> -eric
>
> On Mon, May 4, 2015 at 4:00 PM Adrian Prantl <aprantl at apple.com> wrote:
>
>> Here's the requested autoupgrade code.
>>
>> Duncan, is the ad-hoc fashion I implemented this the way to go, or is
>> there a way to better separate the upgrades from the parser?
>> Also, is there a way to test the autoupgrade without checking in binary
>> bitcode?
>>
>>
>> http://reviews.llvm.org/D9488
>>
>> Files:
>>   include/llvm/IR/DIBuilder.h
>>   include/llvm/IR/DebugInfoMetadata.h
>>   lib/AsmParser/LLParser.cpp
>>   lib/Bitcode/Reader/BitcodeReader.cpp
>>   lib/Bitcode/Writer/BitcodeWriter.cpp
>>   lib/IR/AsmWriter.cpp
>>   lib/IR/DIBuilder.cpp
>>   lib/IR/DebugInfoMetadata.cpp
>>   lib/IR/LLVMContextImpl.h
>>   test/Assembler/mdcompileunit.ll
>>   unittests/IR/MetadataTest.cpp
>>
>> EMAIL PREFERENCES
>>   http://reviews.llvm.org/settings/panel/emailpreferences/
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150504/2d560794/attachment.html>


More information about the llvm-commits mailing list