diff options
author | Petr Hosek <phosek@chromium.org> | 2017-11-22 01:38:31 +0000 |
---|---|---|
committer | Petr Hosek <phosek@chromium.org> | 2017-11-22 01:38:31 +0000 |
commit | 33284b73bd385c22898301b8937c73d87bcfcc11 (patch) | |
tree | a41ac56741a9fbe499b62d3652efe354a4189de1 /test/Driver | |
parent | 5c803947ed21612317ffae768a3866d07953fc36 (diff) |
[Driver] Make the use of relax relocations a per target option
The support for relax relocations is dependent on the linker and
different toolchains within the same compiler can be using different
linkers some of which may or may not support relax relocations.
Give toolchains the option to control whether they want to use relax
relocations in addition to the existing (global) build system option.
Differential Revision: https://reviews.llvm.org/D39831
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@318816 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Driver')
-rw-r--r-- | test/Driver/fuchsia.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/Driver/fuchsia.c b/test/Driver/fuchsia.c index 3f5597c36e..eb413b7509 100644 --- a/test/Driver/fuchsia.c +++ b/test/Driver/fuchsia.c @@ -5,6 +5,7 @@ // RUN: --sysroot=%S/platform 2>&1 \ // RUN: | FileCheck -check-prefixes=CHECK,CHECK-AARCH64 %s // CHECK: {{.*}}clang{{.*}}" "-cc1" +// CHECK: "--mrelax-relocations" // CHECK: "-munwind-tables" // CHECK: "-fuse-init-array" // CHECK: "-isysroot" "[[SYSROOT:[^"]+]]" |