Commit 5566d52
authored
Fix
* Fix `Module::image_range` to include non-text part of module.
This method is informational for embedders to be able to, for example,
ensure an image in memory is `mlock`'d (not swapped out). In the
refactors around the StoreCode/EngineCode split, I mistakenly redefined
this to only the text section. This is not a Wasm execution correctness
issue but may lead to performance issues if an embedder relies on this
behavior. This PR fixes the definition.
* Components as well as core modules.
* Ignore new tests in miri.Module::image_range to include non-text part of module. (#12302)1 parent ec76a6b commit 5566d52
File tree
2 files changed
+49
-10
lines changed- crates/wasmtime/src/runtime
- component
2 files changed
+49
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
682 | 682 | | |
683 | 683 | | |
684 | 684 | | |
685 | | - | |
686 | | - | |
687 | | - | |
688 | | - | |
| 685 | + | |
689 | 686 | | |
690 | 687 | | |
691 | 688 | | |
| |||
911 | 908 | | |
912 | 909 | | |
913 | 910 | | |
914 | | - | |
| 911 | + | |
915 | 912 | | |
916 | 913 | | |
917 | 914 | | |
| |||
937 | 934 | | |
938 | 935 | | |
939 | 936 | | |
| 937 | + | |
| 938 | + | |
| 939 | + | |
| 940 | + | |
| 941 | + | |
| 942 | + | |
| 943 | + | |
| 944 | + | |
| 945 | + | |
| 946 | + | |
| 947 | + | |
| 948 | + | |
| 949 | + | |
| 950 | + | |
| 951 | + | |
| 952 | + | |
| 953 | + | |
| 954 | + | |
| 955 | + | |
| 956 | + | |
| 957 | + | |
| 958 | + | |
| 959 | + | |
940 | 960 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
972 | 972 | | |
973 | 973 | | |
974 | 974 | | |
975 | | - | |
976 | | - | |
977 | | - | |
978 | | - | |
| 975 | + | |
979 | 976 | | |
980 | 977 | | |
981 | 978 | | |
| |||
1238 | 1235 | | |
1239 | 1236 | | |
1240 | 1237 | | |
1241 | | - | |
| 1238 | + | |
1242 | 1239 | | |
1243 | 1240 | | |
1244 | 1241 | | |
| |||
1258 | 1255 | | |
1259 | 1256 | | |
1260 | 1257 | | |
| 1258 | + | |
| 1259 | + | |
| 1260 | + | |
| 1261 | + | |
| 1262 | + | |
| 1263 | + | |
| 1264 | + | |
| 1265 | + | |
| 1266 | + | |
| 1267 | + | |
| 1268 | + | |
| 1269 | + | |
| 1270 | + | |
| 1271 | + | |
| 1272 | + | |
| 1273 | + | |
| 1274 | + | |
| 1275 | + | |
| 1276 | + | |
| 1277 | + | |
| 1278 | + | |
| 1279 | + | |
1261 | 1280 | | |
0 commit comments