Skip to content

Commit 3bbc912

Browse files
committed
[Driver,test] Update sanitizer test after RequiresPIE removal #77689
They fail in a CLANG_DEFAULT_PIE_ON_LINUX=off build.
1 parent f6f1ab9 commit 3bbc912

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

clang/test/Driver/fsanitize.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -896,11 +896,6 @@
896896
// RUN: %clang --target=riscv64-linux-gnu -fsanitize=scudo %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-SCUDO
897897
// CHECK-SCUDO: "-fsanitize=scudo"
898898

899-
// RUN: %clang --target=x86_64-linux-gnu -fsanitize=scudo %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-SCUDO-PIE
900-
// RUN: %clang --target=arm-linux-androideabi -fsanitize=scudo %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-SCUDO-PIE
901-
// CHECK-SCUDO-PIE: "-mrelocation-model" "pic" "-pic-level" "2" "-pic-is-pie"
902-
// CHECK-SCUDO-PIE: "-pie"
903-
904899
// RUN: %clang --target=x86_64-linux-gnu -fsanitize=scudo,undefined %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-SCUDO-UBSAN
905900
// CHECK-SCUDO-UBSAN: "-fsanitize={{.*}}scudo"
906901

clang/test/Driver/sanitizer-ld.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -896,7 +896,6 @@
896896
// RUN: --sysroot=%S/Inputs/basic_linux_tree \
897897
// RUN: | FileCheck --check-prefix=CHECK-SCUDO-LINUX %s
898898
// CHECK-SCUDO-LINUX: "{{.*}}ld{{(.exe)?}}"
899-
// CHECK-SCUDO-LINUX: "-pie"
900899
// CHECK-SCUDO-LINUX: "--whole-archive" "{{.*}}libclang_rt.scudo_standalone-i386.a" "--no-whole-archive"
901900
// CHECK-SCUDO-LINUX-NOT: "-lstdc++"
902901
// CHECK-SCUDO-LINUX: "-lpthread"

0 commit comments

Comments
 (0)