diff options
Diffstat (limited to 'test/Driver/gold-lto.c')
-rw-r--r-- | test/Driver/gold-lto.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Driver/gold-lto.c b/test/Driver/gold-lto.c index c2e8bdfbc747..18a293b6960e 100644 --- a/test/Driver/gold-lto.c +++ b/test/Driver/gold-lto.c @@ -19,3 +19,8 @@ // CHECK-ARM-V7A: "-plugin" "{{.*}}/LLVMgold.so" // CHECK-ARM-V7A: "-plugin-opt=mcpu=cortex-a8" // CHECK-ARM-V7A: "-plugin-opt=foo" +// +// RUN: %clang -target i686-linux-android -### %t.o -flto 2>&1 \ +// RUN: | FileCheck %s --check-prefix=CHECK-X86-ANDROID +// CHECK-X86-ANDROID: "-pie" +// CHECK-X86-ANDROID: "-plugin" "{{.*}}/LLVMgold.so" |