blob: 5805507e0a5c2bc505d65b416e9a7cdf282460bd [file] [log] [blame]
// RUN: %clang -target x86_64-linux-gnu -S -emit-llvm -fsanitize=address \
// RUN: -o - %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-NO-OUTLINE
// RUN: %clang -target x86_64-linux-gnu -S -emit-llvm -o - \
// RUN: -fsanitize=address %s -fsanitize-address-outline-instrumentation \
// RUN: | FileCheck %s --check-prefixes=CHECK-OUTLINE
// CHECK-NO-OUTLINE-NOT: call{{.*}}@__asan_load4
// CHECK-OUTLINE: call{{.*}}@__asan_load4
int deref(int *p) {
return *p;
}