summaryrefslogtreecommitdiffstats
path: root/llvm/test/Instrumentation/SanitizerCoverage/coverage2-dbg.ll
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2014-11-24 18:49:53 +0000
committerKostya Serebryany <kcc@google.com>2014-11-24 18:49:53 +0000
commit4cadd4afa0126ff7165e8cc8d0562fea76328945 (patch)
tree3f45cb59241f23551ffad047263478b911deb01d /llvm/test/Instrumentation/SanitizerCoverage/coverage2-dbg.ll
parent90c138ea6d47c363ee3f7b55f90239c46ba5cc2f (diff)
downloadbcm5719-llvm-4cadd4afa0126ff7165e8cc8d0562fea76328945.tar.gz
bcm5719-llvm-4cadd4afa0126ff7165e8cc8d0562fea76328945.zip
[asan/coverage] change the way asan coverage instrumentation is done: instead of setting the guard to 1 in the generated code, pass the pointer to guard to __sanitizer_cov and set it there. No user-visible functionality change expected
llvm-svn: 222675
Diffstat (limited to 'llvm/test/Instrumentation/SanitizerCoverage/coverage2-dbg.ll')
-rw-r--r--llvm/test/Instrumentation/SanitizerCoverage/coverage2-dbg.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/Instrumentation/SanitizerCoverage/coverage2-dbg.ll b/llvm/test/Instrumentation/SanitizerCoverage/coverage2-dbg.ll
index 9b263293bf4..f351fe15d42 100644
--- a/llvm/test/Instrumentation/SanitizerCoverage/coverage2-dbg.ll
+++ b/llvm/test/Instrumentation/SanitizerCoverage/coverage2-dbg.ll
@@ -17,9 +17,9 @@ target triple = "x86_64-unknown-linux-gnu"
; Check that __sanitizer_cov call has !dgb pointing to the beginning
; of appropriate basic blocks.
; CHECK-LABEL:_Z3fooPi
-; CHECK: call void @__sanitizer_cov(), !dbg [[A:!.*]]
-; CHECK: call void @__sanitizer_cov(), !dbg [[B:!.*]]
-; CHECK: call void @__sanitizer_cov(), !dbg [[C:!.*]]
+; CHECK: call void @__sanitizer_cov(i8*{{.*}}), !dbg [[A:!.*]]
+; CHECK: call void @__sanitizer_cov(i8*{{.*}}), !dbg [[B:!.*]]
+; CHECK: call void @__sanitizer_cov(i8*{{.*}}), !dbg [[C:!.*]]
; CHECK: ret void
; CHECK: [[A]] = metadata !{i32 1, i32 0, metadata !{{.*}}, null}
; CHECK: [[B]] = metadata !{i32 3, i32 5, metadata !{{.*}}, null}
OpenPOWER on IntegriCloud