summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2019-05-23 09:41:03 +0000
committerSam Clegg <sbc@chromium.org>2019-05-23 09:41:03 +0000
commitb9889bbacb4b3cf68838fb54b792435d8d9e341e (patch)
treed1f5f82cb844c36639247eaa429c7925eb38a47d /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent0baaf45be707c9e13e9f4d74001cb87701a519c1 (diff)
[WebAssembly] Seal imports section before counting imports
Summary: Before we can assign entries in the function of global index space we need to know the total number of function and global imports respectively. To avoid programmer error this change seals that imports section before assigned function and global index space. Any attempt to add an import after the section is sealed will assert. The lack this such as check caused https://reviews.llvm.org/D61876 to be reverted. I'm also trying to craft a test case the this failure. Subscribers: dschuff, jgravelle-google, aheejin, sunfish, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D62240 llvm-svn: 361470
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions