rust/tests/codegen/sanitizer/dataflow-instrument-functions.rs

10 lines
210 B
Rust
Raw Normal View History

// 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