HomePhabricator

[WebAssembly] MC: Fix crash in getProvitionalValue on weak references

Authored by sbc100 on Sep 15 2017, 12:22 PM.

Description

[WebAssembly] MC: Fix crash in getProvitionalValue on weak references

  • Create helper function for resolving weak references.
  • Add test that preproduces the crash.

Differential Revision: https://reviews.llvm.org/D37916

llvm-svn: 313381