macos-tbd.ifs 653 Bytes
# RUN: llvm-ifs --action write-bin -o - %s | FileCheck %s

# CHECK: --- !tapi-tbd-v3
# CHECK-NEXT: archs:           [ arm64 ]
# CHECK-NEXT: platform:        macosx
# 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-v2
IfsVersion: 2.0
Triple: arm64-apple-macosx
ObjectFileFormat: TBD
Symbols:
  - { Name: __Z3fooi, Type: Func }
...