[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Driver / xray-function-groups.cpp
blob4dab5f5364ad11f74c1c981450614d7b5affcbdf
1 // RUN: %clang -### --target=aarch64-unknown-linux-gnu -fxray-instrument -fxray-function-groups=3 %s 2>&1 | FileCheck %s --check-prefix=GROUP0
2 // RUN: %clang -### --target=x86_64-unknown-linux-gnu -fxray-instrument -fxray-function-groups=3 -fxray-selected-function-group=0 %s 2>&1 | FileCheck %s --check-prefix=GROUP0
3 // RUN: %clang -### --target=x86_64-unknown-linux-gnu -fxray-instrument -fxray-function-groups=3 -fxray-selected-function-group=1 %s 2>&1 | FileCheck %s --check-prefix=GROUP1
5 // GROUP0: "-fxray-function-groups=3"
6 // GROUP0-NOT: "-fxray-selected-function-group=
7 // GROUP1: "-fxray-function-groups=3" "-fxray-selected-function-group=1"