[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Driver / basic-block-address-map.c
blob12393e8ebfd54eaf0c281809e02d3b575fdc72ec
1 // RUN: %clang -### --target=x86_64 -fbasic-block-address-map %s -S 2>&1 | FileCheck -check-prefix=CHECK-PRESENT %s
2 // RUN: %clang -### --target=aarch64 -fbasic-block-address-map %s -S 2>&1 | FileCheck -check-prefix=CHECK-PRESENT %s
3 // CHECK-PRESENT: -fbasic-block-address-map
5 // RUN: %clang -### --target=x86_64 -fno-basic-block-address-map %s -S 2>&1 | FileCheck %s --check-prefix=CHECK-ABSENT
6 // CHECK-ABSENT-NOT: -fbasic-block-address-map
8 // RUN: not %clang -c --target=x86_64-apple-darwin10 -fbasic-block-address-map %s -S 2>&1 | FileCheck -check-prefix=CHECK-TRIPLE %s
9 // CHECK-TRIPLE: error: unsupported option '-fbasic-block-address-map' for target