[AArch64][GlobalISel] Add disjoint handling for add_and_or_is_add. (#123594)
[llvm-project.git] / compiler-rt / test / xray / TestCases / Posix / default-options.cpp
blobe00ff3ba0a5cbe3d9a5cd1c06a9cad080d8e36ab
1 // RUN: rm -fr %t && mkdir %t && cd %t
2 // RUN: %clang_xray %s -o a.out
3 // RUN: %run %t/a.out 2>&1 | FileCheck %s
5 // REQUIRES: built-in-llvm-tree
7 extern "C" __attribute__((xray_never_instrument)) const char *
8 __xray_default_options() {
9 return "patch_premain=true:verbosity=1:xray_mode=xray-basic";
12 __attribute__((xray_always_instrument)) void always() {}
14 int main() { always(); }
16 // CHECK: =={{[0-9].*}}==XRay: Log file in '{{.*}}'