Skip to content
Commit 6912ed7b authored by Sam Clegg's avatar Sam Clegg
Browse files

[lld][WebAssembly] Don't allow `--global-base` to be specified in -share/-pie...

[lld][WebAssembly] Don't allow `--global-base` to be specified in -share/-pie or --relocatable modes

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.

Differential Revision: https://reviews.llvm.org/D136117
parent 0f374ca5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment