[PATCH] D136117: [lld][WebAssembly] Don't allow `--global-base` to be specified in -share/-pie or --relocatable modes
Sam Clegg via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 17 16:43:58 PDT 2022
sbc100 created this revision.
Herald added subscribers: pmatos, asb, wingo, ecnelises, sunfish, jgravelle-google, dschuff.
Herald added a project: All.
sbc100 requested review of this revision.
Herald added subscribers: llvm-commits, aheejin.
Herald added a project: LLVM.
Add some checks around this combination of flags
Also, honor `--global-base` when specified in `--stack-first` mode
rather than ignoring it. But error out if the specified base preseeds
the end of the stack.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D136117
Files:
lld/test/wasm/global-base.test
lld/wasm/Driver.cpp
lld/wasm/Writer.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136117.468368.patch
Type: text/x-patch
Size: 4096 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221017/5ed7a9c7/attachment.bin>
More information about the llvm-commits
mailing list