1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/tools/llvm-ifs/ios-tbd.ifs
Puyan Lotfi 4deeb56a0f [llvm-ifs] Improving detection of PlatformKind from triple for TBD generation.
It was pointed out that I had hard-coded PlatformKind. This is rectifying that.

Differential Revision: https://reviews.llvm.org/D67255

llvm-svn: 371248
2019-09-06 19:59:59 +00:00

23 lines
639 B
Plaintext

# RUN: llvm-ifs --action write-bin -o - %s | FileCheck %s
# CHECK: --- !tapi-tbd-v3
# CHECK-NEXT: archs: [ arm64 ]
# CHECK-NEXT: platform: ios
# CHECK-NEXT: flags: [ flat_namespace, not_app_extension_safe ]
# CHECK-NEXT: install-name: ''
# CHECK-NEXT: current-version: 0
# CHECK-NEXT: compatibility-version: 0
# CHECK-NEXT: objc-constraint: none
# CHECK-NEXT: exports:
# CHECK-NEXT: - archs: [ arm64 ]
# CHECK-NEXT: symbols: [ __Z3fooi ]
# CHECK-NEXT: ...
--- !experimental-ifs-v1
IfsVersion: 1.0
Triple: arm64-apple-ios
ObjectFileFormat: TBD
Symbols:
__Z3fooi: { Type: Func }
...