[Driver] Always use -z separate-code with lld on Fuchsia
authorPetr Hosek <phosek@chromium.org>
Mon, 5 Aug 2019 01:15:33 +0000 (01:15 +0000)
committerPetr Hosek <phosek@chromium.org>
Mon, 5 Aug 2019 01:15:33 +0000 (01:15 +0000)
commit5b066a9d9045e4071d461ab35dae45798c174c09
treed0346ca4b57f985b983437e71a61d32ca206b312
parent2ca1548299b083c80c95165efc5786fe6a67ec91
[Driver] Always use -z separate-code with lld on Fuchsia

Previously -z separate-code was the default lld behavior, but now it
has to be explicitly requested by specifying the flag.

llvm-svn: 367796
clang/lib/Driver/ToolChains/Fuchsia.cpp
clang/test/Driver/fuchsia.c