summaryrefslogtreecommitdiff
path: root/test/Instrumentation
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2013-11-15 03:28:22 +0000
committerBob Wilson <bob.wilson@apple.com>2013-11-15 03:28:22 +0000
commit2475da80edafcf3a45bddbc937e60312dba435ad (patch)
treeb3d0102cc927353d8c4d4def0c6daebe251a41b4 /test/Instrumentation
parentb53c129da1f5552a5918adba3839de4da6d5ca5d (diff)
downloadllvm-2475da80edafcf3a45bddbc937e60312dba435ad.tar.gz
llvm-2475da80edafcf3a45bddbc937e60312dba435ad.tar.bz2
llvm-2475da80edafcf3a45bddbc937e60312dba435ad.tar.xz
Revert "[asan] Poor man's coverage that works with ASan"
This reverts commit 194701. Apple's bootstrapped LTO builds have been failing, and this change (along with compiler-rt 194702-194704) is the only thing on the blamelist. I will either reappy these changes or help debug the problem, depending on whether this fixes the buildbots. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194780 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Instrumentation')
-rw-r--r--test/Instrumentation/AddressSanitizer/coverage.ll13
1 files changed, 0 insertions, 13 deletions
diff --git a/test/Instrumentation/AddressSanitizer/coverage.ll b/test/Instrumentation/AddressSanitizer/coverage.ll
deleted file mode 100644
index 47a54c0ef8..0000000000
--- a/test/Instrumentation/AddressSanitizer/coverage.ll
+++ /dev/null
@@ -1,13 +0,0 @@
-; RUN: opt < %s -asan -asan-coverage=1 -S | FileCheck %s
-target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
-target triple = "x86_64-unknown-linux-gnu"
-define i32 @foo(i32* %a) sanitize_address {
-entry:
- ret i32 0
-}
-; CHECK: define i32 @foo(i32* %a) #0 {
-; CHECK: %0 = load atomic i8* @__asan_gen_cov_foo monotonic, align 1
-; CHECK: %1 = icmp eq i8 0, %0
-; CHECK: br i1 %1, label %2, label %3
-; CHECK: call void @__sanitizer_cov(i64 ptrtoint (i32 (i32*)* @foo to i64))
-; CHECK: store atomic i8 1, i8* @__asan_gen_cov_foo monotonic, align 1