From 4cadd4afa0126ff7165e8cc8d0562fea76328945 Mon Sep 17 00:00:00 2001 From: Kostya Serebryany Date: Mon, 24 Nov 2014 18:49:53 +0000 Subject: [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 --- llvm/test/Instrumentation/SanitizerCoverage/coverage-dbg.ll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/test/Instrumentation/SanitizerCoverage/coverage-dbg.ll') diff --git a/llvm/test/Instrumentation/SanitizerCoverage/coverage-dbg.ll b/llvm/test/Instrumentation/SanitizerCoverage/coverage-dbg.ll index eea93b8a44b..3520f8a2e20 100644 --- a/llvm/test/Instrumentation/SanitizerCoverage/coverage-dbg.ll +++ b/llvm/test/Instrumentation/SanitizerCoverage/coverage-dbg.ll @@ -15,7 +15,7 @@ ; and add sanitize_address to @_ZN1A1fEv ; Test that __sanitizer_cov call has !dbg pointing to the opening { of A::f(). -; CHECK: call void @__sanitizer_cov(), !dbg [[A:!.*]] +; CHECK: call void @__sanitizer_cov(i8*{{.*}}), !dbg [[A:!.*]] ; CHECK: [[A]] = metadata !{i32 6, i32 0, metadata !{{.*}}, null} -- cgit v1.2.3