diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2018-09-21 12:03:14 +0000 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2018-09-21 12:03:14 +0000 |
commit | a0c9cb1913d14bfcae8c102d2245f73f103f39af (patch) | |
tree | 9452dcc0a9eed683bdf3425feb8e59fc0302d677 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 907ed15f998bab7e2e11b32eb02db83fe7272cbb (diff) | |
download | llvm-a0c9cb1913d14bfcae8c102d2245f73f103f39af.zip llvm-a0c9cb1913d14bfcae8c102d2245f73f103f39af.tar.gz llvm-a0c9cb1913d14bfcae8c102d2245f73f103f39af.tar.bz2 |
Ensure that variant part discriminator is read by MetadataLoader
https://reviews.llvm.org/D42082 introduced variant parts to debug info
in LLVM. Subsequent work on the Rust compiler has found a bug in that
patch; namely, there is a path in MetadataLoader that fails to restore
the discriminator.
This patch fixes the bug.
Patch by: Tom Tromey
Differential revision: https://reviews.llvm.org/D52340
llvm-svn: 342725
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions