[all-commits] [llvm/llvm-project] c496d8: [lld][WebAssembly] Handle 4gb max memories
Thomas Lively via All-commits
all-commits at lists.llvm.org
Thu Apr 9 13:07:00 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: c496d84b4f316d8189d3fc91ac08493e5c50ee12
https://github.com/llvm/llvm-project/commit/c496d84b4f316d8189d3fc91ac08493e5c50ee12
Author: Thomas Lively <tlively at google.com>
Date: 2020-04-09 (Thu, 09 Apr 2020)
Changed paths:
M lld/test/wasm/large-memory.test
M lld/wasm/Config.h
M lld/wasm/Writer.cpp
Log Message:
-----------
[lld][WebAssembly] Handle 4gb max memories
Summary:
A previous change (53211a) had updated the argument parsing to handle
large max memories, but 4294967296 would still wrap to zero after the
options were parsed. This change updates the configuration to use a
64-bit integer to store the max memory to avoid that overflow.
Reviewers: sbc100
Subscribers: dschuff, jgravelle-google, aheejin, sunfish, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D77437
More information about the All-commits
mailing list