14 lines · cpp
1// RUN: %clang -target x86_64-linux-gnu -S -emit-llvm -fsanitize=address \2// RUN: -o - %s \3// RUN: | FileCheck %s --check-prefixes=CHECK-NO-OUTLINE4// RUN: %clang -target x86_64-linux-gnu -S -emit-llvm -o - \5// RUN: -fsanitize=address %s -fsanitize-address-outline-instrumentation \6// RUN: | FileCheck %s --check-prefixes=CHECK-OUTLINE7 8// CHECK-NO-OUTLINE-NOT: call{{.*}}@__asan_load49// CHECK-OUTLINE: call{{.*}}@__asan_load410 11int deref(int *p) {12 return *p;13}14