1 // RUN: %clang_xray -g -fxray-modes=xray-basic,xray-fdr,xray-profiling -o %t %s
2 // RUN: rm -f xray-log.c-test.*
3 // RUN: XRAY_OPTIONS=patch_premain=true:verbosity=1:xray_mode=xray-basic %t \
4 // RUN: 2>&1 | FileCheck %s
5 // RUN: rm -f xray-log.c-test.*
7 // REQUIRES: target={{(aarch64|loongarch64|x86_64)-.*}}
8 // REQUIRES: built-in-llvm-tree
9 __attribute__((xray_always_instrument
)) void always() {}
15 // CHECK: =={{[0-9].*}}==XRay: Log file in '{{.*}}'