This is an archive of the discontinued LLVM Phabricator instance.

[WebAssembly] Fix getSymbolValue for exported globals
ClosedPublic

Authored by sbc100 on Sep 1 2017, 10:18 AM.

Details

Summary

The code wasn't previously taking into account that the
global index space is not same as the into in the Globals
array since the latter does not include imported globals.

This fixes the WebAssembly waterfall failures.

Event Timeline

sbc100 created this revision.Sep 1 2017, 10:18 AM
sbc100 added a subscriber: llvm-commits.
dschuff accepted this revision.Sep 1 2017, 10:21 AM
This revision is now accepted and ready to land.Sep 1 2017, 10:21 AM
This revision was automatically updated to reflect the committed changes.