summaryrefslogtreecommitdiff
path: root/src/ir/memory-utils.cpp
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2023-04-07 14:06:10 -0700
committerGitHub <noreply@github.com>2023-04-07 14:06:10 -0700
commit0578862dc5569a4b544800d666458d698536a1a5 (patch)
treee007c518c87ebbdd007a1ecf1a23f789b4f5f5a9 /src/ir/memory-utils.cpp
parent642d663d50ee90b19ef4d0c2e92f30585799d8b1 (diff)
downloadbinaryen-0578862dc5569a4b544800d666458d698536a1a5.tar.gz
binaryen-0578862dc5569a4b544800d666458d698536a1a5.tar.bz2
binaryen-0578862dc5569a4b544800d666458d698536a1a5.zip
Fix MemoryPacking handling of array.init_data (#5644)
Do not optimize out or split segments that are referred to array.init_data instructions. Fixes a bug where segments could get optimized out, producing invalid modules. Doing the work to actually split segments used by array.init_data is left for the future. Also fix a latent UBSan failure revealed by the new test case.
Diffstat (limited to 'src/ir/memory-utils.cpp')
0 files changed, 0 insertions, 0 deletions