[PATCH] D42082: Add DWARF for discriminated unions
Tom Tromey via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 24 11:03:18 PST 2018
tromey updated this revision to Diff 131314.
tromey added a comment.
This is a new version of the discriminated union patch.
It addresses most of the comments previously made, though I still have
not added support for multiple members in a variant, because Rust does
not need this. However, I think that with the more flexible approach
taken in this patch, it should not be too hard for someone else to add
this functionality when needed.
Repository:
rL LLVM
https://reviews.llvm.org/D42082
Files:
include/llvm/IR/DIBuilder.h
include/llvm/IR/DebugInfoMetadata.h
lib/AsmParser/LLParser.cpp
lib/Bitcode/Reader/MetadataLoader.cpp
lib/Bitcode/Writer/BitcodeWriter.cpp
lib/CodeGen/AsmPrinter/DwarfUnit.cpp
lib/CodeGen/AsmPrinter/DwarfUnit.h
lib/IR/AsmWriter.cpp
lib/IR/DIBuilder.cpp
lib/IR/DebugInfoMetadata.cpp
lib/IR/LLVMContextImpl.h
lib/IR/Verifier.cpp
test/Assembler/debug-info.ll
test/DebugInfo/Generic/discriminated-union.ll
test/DebugInfo/Generic/univariant-discriminated-union.ll
test/Verifier/variant-part.ll
unittests/IR/DebugTypeODRUniquingTest.cpp
unittests/IR/MetadataTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42082.131314.patch
Type: text/x-patch
Size: 42032 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180124/2c1921d3/attachment.bin>
More information about the llvm-commits
mailing list