summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/sanitizer_common/sancov_begin.S
diff options
context:
space:
mode:
authorRainer Orth <ro@gcc.gnu.org>2019-07-08 22:08:33 +0000
committerRainer Orth <ro@gcc.gnu.org>2019-07-08 22:08:33 +0000
commit40f159cc40e2dd2368ab56b8b7458c5110f90a09 (patch)
treec606cbc8424b93f64731f259197d7eeb54e0490b /compiler-rt/lib/sanitizer_common/sancov_begin.S
parent9e7cbc0e7d9c659af57b69a685ac16d537d64692 (diff)
downloadbcm5719-llvm-40f159cc40e2dd2368ab56b8b7458c5110f90a09.tar.gz
bcm5719-llvm-40f159cc40e2dd2368ab56b8b7458c5110f90a09.zip
[Sanitizers] Remove clang_rt.sancov_{begin,end} on Solaris
There's no point to manually create the __start___sancov_guards and __stop___sancov_guards sections and labels on Solaris any longer. They were originally introduced in https://reviews.llvm.org/D40899 and https://reviews.llvm.org/D40903. - The Solaris 11.4 ld supports creating them out of the box. - We already unconditionally use Solaris 11.4 features like the ld -z gnu-version-script-compat option and fully working .preinit_array support in compiler-rt. - The current files don't assemble on SPARC because the assembler syntax may be different between /bin/as and GNU as. Tested on amd64-pc-solaris2.11. Differential Revision: https://reviews.llvm.org/D63601 llvm-svn: 365399
Diffstat (limited to 'compiler-rt/lib/sanitizer_common/sancov_begin.S')
-rw-r--r--compiler-rt/lib/sanitizer_common/sancov_begin.S5
1 files changed, 0 insertions, 5 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sancov_begin.S b/compiler-rt/lib/sanitizer_common/sancov_begin.S
deleted file mode 100644
index c8ad0a0bcb5..00000000000
--- a/compiler-rt/lib/sanitizer_common/sancov_begin.S
+++ /dev/null
@@ -1,5 +0,0 @@
- .type __start___sancov_guards,@object
- .globl __start___sancov_guards
- .section __sancov_guards,"aw",@progbits
- .p2align 2
-__start___sancov_guards:
OpenPOWER on IntegriCloud