2018-12-13 01:30:16 +08:00
|
|
|
// REQUIRES: arm-registered-target
|
|
|
|
|
|
|
|
// RUN: %clang -c -target armv7-apple-ios10 %s -fembed-bitcode -### 2>&1 | FileCheck %s -check-prefix=CHECK-AS
|
|
|
|
// RUN: %clang -c -target armv7-apple-ios10 %s -fembed-bitcode-marker -### 2>&1 | FileCheck %s -check-prefix=CHECK-AS-MARKER
|
|
|
|
// CHECK-AS: -cc1as
|
|
|
|
// CHECK-AS: -fembed-bitcode=all
|
|
|
|
// CHECK-AS-MARKER: -fembed-bitcode=marker
|
|
|
|
|
|
|
|
// RUN: %clang -c -target armv7-apple-ios10 %s -fembed-bitcode -o %t.o
|
2019-05-01 17:30:45 +08:00
|
|
|
// RUN: llvm-readobj -S %t.o | FileCheck --check-prefix=CHECK-SECTION %s
|
2018-12-13 01:30:16 +08:00
|
|
|
// CHECK-SECTION: Name: __asm
|
|
|
|
// CHECK-SECTION-NEXT: Segment: __LLVM
|