Author: Fangrui Song
Date: 2020-02-02T21:46:48-08:00
New Revision: 3ecba396e91ccfb6e066afcfd18bdc24597fe4dd

URL: 
https://github.com/llvm/llvm-project/commit/3ecba396e91ccfb6e066afcfd18bdc24597fe4dd
DIFF: 
https://github.com/llvm/llvm-project/commit/3ecba396e91ccfb6e066afcfd18bdc24597fe4dd.diff

LOG: [Driver][test] Change %itanium_abi_triple to generic ELF

x86_64-windows and darwin default to PIC. They don't use PIE.

Added: 
    

Modified: 
    clang/test/Driver/fsemantic-interposition.c

Removed: 
    


################################################################################
diff  --git a/clang/test/Driver/fsemantic-interposition.c 
b/clang/test/Driver/fsemantic-interposition.c
index 252f5fce6944..20bc2c6f7270 100644
--- a/clang/test/Driver/fsemantic-interposition.c
+++ b/clang/test/Driver/fsemantic-interposition.c
@@ -1,9 +1,9 @@
-// RUN: %clang -target %itanium_abi_triple %s -Werror -fpic 
-fsemantic-interposition -c -### 2>&1 | FileCheck %s
-// RUN: %clang -target %itanium_abi_triple %s -Werror -fPIC 
-fsemantic-interposition -c -### 2>&1 | FileCheck %s
+// RUN: %clang -target x86_64 %s -Werror -fpic -fsemantic-interposition -c 
-### 2>&1 | FileCheck %s
+// RUN: %clang -target x86_64 %s -Werror -fPIC -fsemantic-interposition -c 
-### 2>&1 | FileCheck %s
 // CHECK: "-fsemantic-interposition"
 
-// RUN: %clang -target %itanium_abi_triple %s -Werror -fPIC 
-fsemantic-interposition -fno-semantic-interposition -c -### 2>&1 | FileCheck 
--check-prefix=NO %s
-// RUN: %clang -target %itanium_abi_triple %s -Werror -fno-PIC 
-fsemantic-interposition -c -### 2>&1 | FileCheck --check-prefix=NO %s
-// RUN: %clang -target %itanium_abi_triple %s -Werror -fPIC -c -### 2>&1 | 
FileCheck --check-prefix=NO %s
-// RUN: %clang -target %itanium_abi_triple %s -Werror -fPIE 
-fsemantic-interposition -c -### 2>&1 | FileCheck --check-prefix=NO %s
+// RUN: %clang -target x86_64 %s -Werror -fPIC -fsemantic-interposition 
-fno-semantic-interposition -c -### 2>&1 | FileCheck --check-prefix=NO %s
+// RUN: %clang -target x86_64 %s -Werror -fsemantic-interposition -c -### 2>&1 
| FileCheck --check-prefix=NO %s
+// RUN: %clang -target x86_64 %s -Werror -fPIC -c -### 2>&1 | FileCheck 
--check-prefix=NO %s
+// RUN: %clang -target x86_64 %s -Werror -fPIE -fsemantic-interposition -c 
-### 2>&1 | FileCheck --check-prefix=NO %s
 // NO-NOT: "-fsemantic-interposition"


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to