Page MenuHomePhabricator

Ensure that variant part discriminator is read by MetadataLoader

Authored by tromey on Sep 20 2018, 10:14 PM.


Summary 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.

Diff Detail


Event Timeline

tromey created this revision.Sep 20 2018, 10:14 PM
JDevlieghere accepted this revision.Sep 20 2018, 11:45 PM

LGTM, Thanks!

This revision is now accepted and ready to land.Sep 20 2018, 11:45 PM

Could someone please land this for me? Thank you.

This revision was automatically updated to reflect the committed changes.