[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Driver / mcount.c
blob70f554745b9c30a409bdc5bd9a443bf4c79a4884
1 // RUN: %clang --target=s390x -c -### %s -mnop-mcount -mrecord-mcount 2>&1 | FileCheck %s
3 // CHECK: "-mnop-mcount"
4 // CHECK: "-mrecord-mcount"
6 // RUN: not %clang --target=x86_64 -c -### %s -mnop-mcount -mrecord-mcount 2>&1 | FileCheck --check-prefix=ERR1 %s
7 // RUN: not %clang --target=aarch64 -c -### %s -mnop-mcount -mrecord-mcount 2>&1 | FileCheck --check-prefix=ERR2 %s
9 // ERR1: error: unsupported option '-mnop-mcount' for target 'x86_64'
10 // ERR1: error: unsupported option '-mrecord-mcount' for target 'x86_64'
11 // ERR2: error: unsupported option '-mnop-mcount' for target 'aarch64'
12 // ERR2: error: unsupported option '-mrecord-mcount' for target 'aarch64'