commit | e38fd9fa362002e4d5ef0eb9ee23916f6f62b4b6 | [log] [tgz] |
---|---|---|
author | Sam Clegg <sbc@chromium.org> | Fri Sep 01 17:24:19 2017 +0000 |
committer | Sam Clegg <sbc@chromium.org> | Fri Sep 01 17:24:19 2017 +0000 |
tree | b153871cfb23d3956361df5ebef15f6c5d89d391 | |
parent | 8cb6b3ebf8480fe273085b39396b852fa9302041 [diff] |
[WebAssembly] Fix getSymbolValue for exported globals 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. Differential Revision: https://reviews.llvm.org/D37384 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@312340 91177308-0d34-0410-b5e6-96231b3b80d8