mirror of
https://github.com/apple/swift.git
synced 2026-06-20 15:42:51 +02:00
2b8ee6e5a2
This ensures that we use the correct llvm-bcanalyzer from the just built compiler tools.
11 lines
534 B
Swift
11 lines
534 B
Swift
// RUN: %empty-directory(%t)
|
|
// RUN: %target-swift-frontend -emit-module -module-name AppExtSafe -emit-module-path %t/AppExtSafe.swiftmodule -parse-as-library -serialize-debugging-options -application-extension %s
|
|
|
|
// Check the serialized flags paths.
|
|
// RUN: %llvm-bcanalyzer -dump %t/AppExtSafe.swiftmodule > %t/AppExtSafe.swiftmodule.txt
|
|
// RUN: %FileCheck %s < %t/AppExtSafe.swiftmodule.txt
|
|
|
|
// CHECK-LABEL: <OPTIONS_BLOCK
|
|
// CHECK: <XCC abbrevid={{[0-9]+}}/> blob data = '-fapplication-extension'
|
|
// CHECK: </OPTIONS_BLOCK>
|