about summary refs log tree commit diff
path: root/tests/codegen-llvm/sanitizer/dataflow-instrument-functions.rs
blob: cd8c2c48ea4f7a6fd1194730d7f0be602569da4e (plain)
1
2
3
4
5
6
7
8
9
// Verifies that functions are instrumented.
//
//@ needs-sanitizer-dataflow
//@ compile-flags: -Copt-level=0 -Zsanitizer=dataflow -C unsafe-allow-abi-mismatch=sanitizer

#![crate_type = "lib"]

pub fn foo() {}
// CHECK: define{{.*}}foo{{.*}}.dfsan