[clang] 7eeb901 - [Driver] Fix fsemantic-interposition.c for Windows and Darwin
Fangrui Song via cfe-commits
cfe-commits at lists.llvm.org
Sun Feb 2 20:55:37 PST 2020
Author: Fangrui Song
Date: 2020-02-02T20:55:24-08:00
New Revision: 7eeb90152859f254fe4e9182c749ab065d33c89d
URL: https://github.com/llvm/llvm-project/commit/7eeb90152859f254fe4e9182c749ab065d33c89d
DIFF: https://github.com/llvm/llvm-project/commit/7eeb90152859f254fe4e9182c749ab065d33c89d.diff
LOG: [Driver] Fix fsemantic-interposition.c for Windows and Darwin
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 484be679c232..252f5fce6944 100644
--- a/clang/test/Driver/fsemantic-interposition.c
+++ b/clang/test/Driver/fsemantic-interposition.c
@@ -3,7 +3,7 @@
// 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 -fsemantic-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
// NO-NOT: "-fsemantic-interposition"
More information about the cfe-commits
mailing list