aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2017-10-27 00:08:55 +0000
committerSam Clegg <sbc@chromium.org>2017-10-27 00:08:55 +0000
commitc55d13f4610ec5ef3ea4d59583f97b9148383f52 (patch)
tree022fad23a4cf23a788965882b34dd5f2daf6fc35 /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
parented55e6c64f9b09fd60143deccb4147dc0f714b27 (diff)
downloadllvm-c55d13f4610ec5ef3ea4d59583f97b9148383f52.zip
llvm-c55d13f4610ec5ef3ea4d59583f97b9148383f52.tar.gz
llvm-c55d13f4610ec5ef3ea4d59583f97b9148383f52.tar.bz2
[WebAssembly] MC: Don't allow zero sized data segments
This ensures that each segment has a unique address. Without this, consecutive zero sized symbols would end up with the same address and the linker cannot map symbols to unique data segments. Differential Revision: https://reviews.llvm.org/D39107 llvm-svn: 316717
Diffstat (limited to 'llvm/lib/Transforms/Utils/BasicBlockUtils.cpp')
0 files changed, 0 insertions, 0 deletions