diff options
author | Kostya Serebryany <kcc@google.com> | 2014-11-24 18:49:53 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2014-11-24 18:49:53 +0000 |
commit | 4cadd4afa0126ff7165e8cc8d0562fea76328945 (patch) | |
tree | 3f45cb59241f23551ffad047263478b911deb01d /llvm/test/Instrumentation/SanitizerCoverage/coverage-dbg.ll | |
parent | 90c138ea6d47c363ee3f7b55f90239c46ba5cc2f (diff) | |
download | bcm5719-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/coverage-dbg.ll')
-rw-r--r-- | llvm/test/Instrumentation/SanitizerCoverage/coverage-dbg.ll | 2 |
1 files changed, 1 insertions, 1 deletions
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} |