[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Driver / embed-bitcode.s
blob52928c8d2055d67791cd86ab6025dd34a8200069
1 // REQUIRES: arm-registered-target
3 // RUN: %clang -c -target armv7-apple-ios10 %s -fembed-bitcode -### 2>&1 | FileCheck %s -check-prefix=CHECK-AS
4 // RUN: %clang -c -target armv7-apple-ios10 %s -fembed-bitcode-marker -### 2>&1 | FileCheck %s -check-prefix=CHECK-AS-MARKER
5 // CHECK-AS: -cc1as
6 // CHECK-AS: -fembed-bitcode=all
7 // CHECK-AS-MARKER: -fembed-bitcode=marker
9 // RUN: %clang -c -target armv7-apple-ios10 %s -fembed-bitcode -o %t.o
10 // RUN: llvm-readobj -S %t.o | FileCheck --check-prefix=CHECK-SECTION %s
11 // CHECK-SECTION: Name: __asm
12 // CHECK-SECTION-NEXT: Segment: __LLVM