1RUN: llvm-nm %p/Inputs/tapi-v1.tbd 2>&1\ 2RUN: | FileCheck %s -check-prefix V1 3 4RUN: llvm-nm %p/Inputs/tapi-v2.tbd \ 5RUN: | FileCheck %s -check-prefix V2 6 7RUN: llvm-nm --add-inlinedinfo --arch=x86_64 %p/Inputs/tapi-v3.tbd \ 8RUN: | FileCheck %s -check-prefix V3 9 10RUN: llvm-nm %p/Inputs/tapi-v4.tbd \ 11RUN: | FileCheck %s -check-prefix V4 12 13RUN: llvm-nm %p/Inputs/tapi-v4-watchos.tbd \ 14RUN: | FileCheck %s -check-prefix V4-WATCH 15 16V1: /u/l/libfoo.dylib (for architecture armv7): 17V1-NEXT: 00000000 S _sym 18V1: /u/l/libfoo.dylib (for architecture armv7s): 19V1-NEXT: 00000000 S _sym 20 21V2: /u/l/libfoo.dylib (for architecture armv7): 22V2-NEXT: 00000000 S _sym1 23V2-NEXT: 00000000 S _sym2 24V2-NEXT: 00000000 S _sym3 25V2: /u/l/libfoo.dylib (for architecture armv7s): 26V2-NEXT: 00000000 S _sym1 27V2-NEXT: 00000000 S _sym2 28V2-NEXT: 00000000 S _sym3 29V2: /u/l/libfoo.dylib (for architecture arm64): 30V2-NEXT: U _sym 31V2-NEXT: 0000000000000000 S _sym1 32V2-NEXT: 0000000000000000 S _sym2 33V2-NEXT: 0000000000000000 S _sym3 34 35V3: /usr/lib/libfoo.dylib (for architecture x86_64): 36V3-NEXT: 0000000000000000 S _OBJC_CLASS_$_NSBlockPredicate 37V3-NEXT: 0000000000000000 S _OBJC_CLASS_$_NSString 38V3-NEXT: 0000000000000000 S _OBJC_EHTYPE_$_NSString 39V3-NEXT: 0000000000000000 S _OBJC_IVAR_$_NSBlockPredicate._block 40V3-NEXT: 0000000000000000 S _OBJC_METACLASS_$_NSBlockPredicate 41V3-NEXT: 0000000000000000 S _OBJC_METACLASS_$_NSString 42V3-NEXT: 0000000000000000 S _sym1 43V3-NEXT: 0000000000000000 S _sym2 44V3: /usr/lib/liba.dylib (for architecture x86_64): 45V3-NEXT: 0000000000000000 S _OBJC_CLASS_$_NSBlockPredicate 46V3-NEXT: 0000000000000000 S _OBJC_CLASS_$_NSString 47V3-NEXT: 0000000000000000 S _OBJC_EHTYPE_$_NSString 48V3-NEXT: 0000000000000000 S _OBJC_IVAR_$_NSBlockPredicate._block 49V3-NEXT: 0000000000000000 S _OBJC_METACLASS_$_NSBlockPredicate 50V3-NEXT: 0000000000000000 S _OBJC_METACLASS_$_NSString 51V3-NEXT: 0000000000000000 S _sym1 52V3-NEXT: 0000000000000000 S _sym2 53 54V4: /u/l/libFoo.dylib (for architecture i386): 55V4-NEXT: 00000000 S _sym1 56V4-NEXT: 00000000 W _sym2 57V4-NEXT: 00000000 S _sym3 58V4-NEXT: 00000000 S _sym4 59V4: /u/l/libFoo.dylib (for architecture x86_64): 60V4-NEXT: 0000000000000000 S _sym3 61V4-NEXT: 0000000000000000 S _sym4 62 63V4-WATCH: /u/l/libFoo.dylib (for architecture armv7k) 64V4-WATCH-NEXT: 00000000 S _sym1 65V4-WATCH: /u/l/libFoo.dylib (for architecture arm64_32) 66V4-WATCH-NEXT: 00000000 S _sym1 67