mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Also, fix and enable `IRGen/lto_autolink` for all non-Wasm targets and `IRGen/static_initializer` for aarch64. This should get [the community Android CI](https://ci-external.swift.org/job/oss-swift-RA-linux-ubuntu-24.04-android-build/) green [again](https://ci-external.swift.org/job/oss-swift-RA-linux-ubuntu-24.04-android-arm64/).
13 lines
542 B
Swift
13 lines
542 B
Swift
// REQUIRES: OS=macosx || OS=ios || OS=tvos || OS=watchos, CPU=x86_64
|
|
// RUN: %target-swift-frontend -c -module-name someModule -embed-bitcode-marker -o %t.o %s
|
|
// RUN: llvm-objdump --macho --section="__LLVM,__bitcode" %t.o | %FileCheck -check-prefix=MARKER %s
|
|
// RUN: llvm-objdump --macho --section="__LLVM,__swift_cmdline" %t.o | %FileCheck -check-prefix=MARKER-CMD %s
|
|
|
|
// MARKER: Contents of (__LLVM,__bitcode) section
|
|
// MARKER-NEXT: 00
|
|
// MARKER-CMD: Contents of (__LLVM,__swift_cmdline) section
|
|
// MARKER-CMD-NEXT: 00
|
|
|
|
func test() {
|
|
}
|