[PATCH] D42082: Add DWARF for discriminated unions
Paul Robinson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 25 15:00:39 PST 2018
probinson added a comment.
In https://reviews.llvm.org/D42082#986829, @tromey wrote:
> I still have
> not added support for multiple members in a variant, because Rust does
> not need this.
I found this example, which sure looks like multiple members in a variant, here:
https://stackoverflow.com/questions/29248665/why-does-rust-not-have-unions
enum Foo {
Bar(i32),
Baz,
Quux {
misc: A,
ellaneous: B,
fields: C,
},
}
Repository:
rL LLVM
https://reviews.llvm.org/D42082
More information about the llvm-commits
mailing list