Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
codegen
/
sanitizer
/
dataflow-instrument-functions.rs
blob: a2d0d63cc17547af8dd1b182a1796dc1ea30470a [
file
] [
log
] [
blame
] [
edit
]
// Verifies that functions are instrumented.
//
//@ needs-sanitizer-dataflow
//@ compile-flags: -Copt-level=0 -Zsanitizer=dataflow
#![
crate_type
=
"lib"
]
pub
fn
foo
()
{}
// CHECK: define{{.*}}foo{{.*}}.dfsan